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
- Host: GitHub
- URL: https://github.com/onelivesleft/jai-simd
- Owner: onelivesleft
- Created: 2021-08-31T13:12:36.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-12-20T08:34:30.000Z (over 4 years ago)
- Last Synced: 2025-01-28T22:46:59.685Z (over 1 year ago)
- Size: 21.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README_header.md
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 :: () {
//
}