opencv/cmake/checks/cpu_avx.cpp
2017-02-13 19:52:59 +03:00

10 lines
207 B
C++

#if !defined __AVX__ // MSVC supports this flag since MSVS 2013
#error "__AVX__ define is missing"
#endif
#include <immintrin.h>
void test()
{
__m256 a = _mm256_set1_ps(0.0f);
}
int main() { return 0; }