4 ms·
I've been playing with Intel's "Implicitly Parallel SIMD Compiler" (ISPC) [0]. The ISPC User Guide was easy for me to work through, and there's a section on "S
by watersb 4y ago
I've been playing with Intel's "Implicitly Parallel SIMD Compiler" (ISPC) [0].
The ISPC User Guide was easy for me to work through, and there's a section on "Structure of Arrays" (SOA) programming [1].
This approach to vector-parallel programming was new to me, but got me to try some C code for the kernel transformation. My simple applications are probably fast enough in Python, but I thought it quite worthwhile to look at tiny kernels and the code the compiler generates.
- [0] https://ispc.github.io/index.html https://ispc.github.io/index.html
- [1] https://ispc.github.io/ispc.html#structure-of-array-types https://ispc.github.io/ispc.html#structure-of-array-types