An open API service indexing awesome lists of open source software.

https://github.com/onelivesleft/jai-simd

Module for performing SIMD calculations
https://github.com/onelivesleft/jai-simd

Last synced: about 1 year ago
JSON representation

Module for performing SIMD calculations

Awesome Lists containing this project

README

          

# jai-simd

Perform SIMD calculations without learning x64 assembly. To use download and copy the `SIMD` folder into your jai modules folder (or symlink it: `mklink /d c:\jai\modules\SIMD c:\repos\jai-simd\SIMD`).

To SIMD your code, create some `Vec128`s with your data, call the relevant SIMD procedures, then `calculate()`. Any vecs which you have placed in the dest parameter (the first parameter) will be written to.

```jai
#import "SIMD";

main :: () {
//
}