Distribution_Service/CC_SDK/Environment/opencv/cmake/checks/cpu_avx.cpp
2025-11-11 17:46:19 +08: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; }