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:
authorKenneth Heafield <github@kheafield.com>2019-12-20 21:40:28 +0300
committerKenneth Heafield <github@kheafield.com>2019-12-20 21:40:28 +0300
commitda45fa2b2198107a63cda81d6c6807fd138bf545 (patch)
tree0b7b7925ce58ce3ec8a58a65ab424496fb2339a5
parent588978add02fa30ec6bc949e1275587c8968f6d4 (diff)
D'oh I had an if inverted and broke non-icc
-rw-r--r--intgemm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intgemm.h b/intgemm.h
index 8b933f2..5bb37d0 100644
--- a/intgemm.h
+++ b/intgemm.h
@@ -144,9 +144,9 @@ template <class T> T ChooseCPU(T avx512vnni, T avx512, T avx2, T ssse3, T sse2,
#ifdef INTGEMM_COMPILER_SUPPORTS_AVX512
if (
#ifdef __INTEL_COMPILER
- __builtin_cpu_supports("avx512bw")
-#else
_may_i_use_cpu_feature(_FEATURE_AVX512BW)
+#else
+ __builtin_cpu_supports("avx512bw")
#endif
) {
return avx512;