3 ms·
This is 100% not the case with SIMD.
by upbeat_general 5y ago
This is 100% not the case with SIMD.
- dsharlet 5y agoCompilers can be pretty good if you help them out a bit. Here's my implementation of Einstein reductions (including summations) in C++, which generate pretty close to ideal code until you start getting into processor architecture specific optimizations: https://github.com/dsharlet/array#einstein-reductions https://github.com/dsharlet/array#einstein-reductions