mirror of
https://github.com/opencv/opencv.git
synced 2024-12-05 01:39:13 +08:00
11 lines
269 B
C++
11 lines
269 B
C++
#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; }
|