Releases: shiMusa/jai-parallel-for
Releases · shiMusa/jai-parallel-for
(newline)
(inlined some functions)
0.0.5 inlining functions
Restructuring Files
Compat with `Metaprogram`
Added a modules.lst
file to make it compatible with onelivesleft's Metaprogram.
Indices
It is now also possible to use functions that access the index:
either foo :: (x: *$T, ix: int)
or foo :: (x: *$T, ix: int, g: *$G)
where g
is some "global" data that is shared between all threads.
<!> Due to a compiler bug (beta 0.0.102), you cannot use lambdas that use the index. Instead, you have to define the function outside and then pass that in - see example.jai
.
Initial Release
This is the first release of some easy-to-use parallel for functions.
Have fun!
PS: be careful when mutating the global data!