SIMD Algorithms
A collection of hand optimized SIMD versions of common array algorithms.
com.mrunbelievable.simd_algorithms Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/simd-algorithms.git README Markdown
Copy this to your project's README.md
## Installation
Add **SIMD Algorithms** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/simd-algorithms.git
```
[](https://www.pkglnk.dev/pkg/simd-algorithms)Dependencies (5)
Used By (1)
README
SIMD-Algorithms
This package contains some of the most common array algorithms which are either auto-vectorized very poorly (like summing up unsigned bytes) or not auto vectorized at all (Contains, IndexOf, etc.).
All included functions have a "SIMD_" prefix added to their name.
There is a base version of each algorithm which takes in a pointer in the static "SIMDAlgorithms.Algorithms" class. There are extension methods of each algorithm for Unity.Collections' NativeArray, NativeSlice and NativeList aswell.
Note:
- C Sharp Dev Tools (conditionally compiled runtime checks) is required. Unit tests for this library are included in this repository.
Donations
If this repository has been valuable to your projects and you'd like to support my work, consider making a donation.


No comments yet. Be the first!