1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

cmake: support multiple CPU targets

This commit is contained in:
Alexander Alekhin
2016-09-07 18:02:36 +03:00
parent 47ae5f14f5
commit e16227b53c
28 changed files with 1439 additions and 393 deletions
+10
View File
@@ -0,0 +1,10 @@
#if !defined __AVX2__ // MSVC supports this flag since MSVS 2013
#error "__AVX2__ define is missing"
#endif
#include <immintrin.h>
void test()
{
int data[8] = {0,0,0,0, 0,0,0,0};
__m256i a = _mm256_loadu_si256((const __m256i *)data);
}
int main() { return 0; }