3 ms·
You really should check out ipsc, which is a CPU-SIMD compiler similar to CUDA. With that being said, there's good reason to use raw intrinsics in modern code.
by dragontamer 7y ago
You really should check out ipsc, which is a CPU-SIMD compiler similar to CUDA.
With that being said, there's good reason to use raw intrinsics in modern code. But ipsc / CUDA model is superior for most uses in my experience. Its just easier to think about.
The main issue with IPSC is that you're innately SOA, and the data-layout is just different compared to how people normally organize their data. Data-layout issues (AOS vs SOA) are probably one of the most tedious issues to deal with when using SIMD.
For the "interface", where you're converting AOS to SOA, manual intrinsics can help.