4 ms·
> It's quite a pain to write by hand And we all know that autovectorisation is hit-and-miss at best. I wonder if there will be a new C-like language that has
by jiggawatts 7y ago
> It's quite a pain to write by hand
And we all know that autovectorisation is hit-and-miss at best.
I wonder if there will be a new C-like language that has portable SIMD-like capabilities in the same sense that "C is a portable assembly language".
- mmozeiko 7y agoThere is - Intel SPMD Program Compiler. https://ispc.github.io/ https://ispc.github.io/
- benibela 7y agoBut does that work on AMD ?
- Fronzie 7y agoAnother one is SyCL: https://www.khronos.org/sycl/ https://www.khronos.org/sycl/ the SIMD part is OpenCL, SyCL provides scheduling/memory transfer on top.
- DeathArrow 7y ago>The first observation is that in modern compilers, the resulting performance from auto-vectorization optimization is still far from the architectural peak performance. https://dl.acm.org/doi/fullHtml/10.1145/3356842 https://dl.acm.org/doi/fullHtml/10.1145/3356842 Maybe we can get get more benefits if we invest more resources in optimizing compilers than in inventing yet another Javascript framework?