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

11 lines
198 B
C++

#if defined __AVX512__ || defined __AVX512F__
#include <immintrin.h>
void test()
{
__m512i zmm = _mm512_setzero_si512();
}
#else
#error "AVX512 is not supported"
#endif
int main() { return 0; }