3 ms·
I wonder if one could do a Rust version of https://github.com/ekmett/rts https://github.com/ekmett/rts ? It's a SPMD-on-SIMD exploratory hack, with SOA and mas
by mncharity 9y ago
I wonder if one could do a Rust version of https://github.com/ekmett/rts https://github.com/ekmett/rts ? It's a SPMD-on-SIMD exploratory hack, with SOA and masked branching, built on C++ templates.
Core is https://github.com/ekmett/rts/blob/master/src/rts/varying.hpp https://github.com/ekmett/rts/blob/master/src/rts/varying.hp... and https://github.com/ekmett/rts/blob/master/src/rts/vec.hpp https://github.com/ekmett/rts/blob/master/src/rts/vec.hpp .
- Ar-Curunir 9y agoSo something like rayon + faster?
- mncharity 9y agoYes, plus integrated branched control flow using simd masks.[1] [1] eg, random ggl link: https://gain-performance.com/2017/05/14/umesimd-tutorial-8-conditional-execution-using-masks/ https://gain-performance.com/2017/05/14/umesimd-tutorial-8-c... https://github.com/AdamNiederer/faster https://github.com/AdamNiederer/faster https://github.com/rayon-rs/rayon https://github.com/rayon-rs/rayon