Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/intgemm/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'compile_test_avx512.cc')
-rw-r--r--compile_test_avx512.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/compile_test_avx512.cc b/compile_test_avx512.cc
deleted file mode 100644
index f56cc12..0000000
--- a/compile_test_avx512.cc
+++ /dev/null
@@ -1,16 +0,0 @@
-// Some compilers don't have AVX512BW support. Test for them.
-#include <immintrin.h>
-
-#include <iostream>
-
-int main() {
- // AVX512F
- __m512i value = _mm512_set1_epi32(1);
- // AVX512BW
- value = _mm512_maddubs_epi16(value, value);
-
- __m256i value2 = _mm256_set1_epi8(1);
- // AVX512DQ
- value = _mm512_inserti32x8(value, value2, 1);
- return *(int*)&value && __builtin_cpu_supports("avx512f");
-}