5 ms·
Anyone know about any C++ projects/tools that can help enforce vectorization? Of course, you could create a benchmark test that detects a performance regressio
by snowAbstraction 8y ago
Anyone know about any C++ projects/tools that can help enforce vectorization?
Of course, you could create a benchmark test that detects a performance regression, but I am hoping for something more sophisticated like tagging a scope to indicate that it should result in a certain group of AVX instructions.
- rowanG077 8y agoIf it fits your use case you can use std::valarray<T>. See here: https://godbolt.org/g/JBSvuH https://godbolt.org/g/JBSvuH