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

github.com/marian-nmt/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2020-08-18 01:07:52 +0300
committerKenneth Heafield <github@kheafield.com>2020-08-18 01:07:52 +0300
commit0f05c3ebd037eacdf8cff165736fea2b0d125023 (patch)
tree8e4cfe5731f8a33dcd20466d75411323dc6b0d78
parent3d95c1e1c5bc22d7d1e00647769c319502361c88 (diff)
Fix support for compilers without AVX512BW
-rw-r--r--intgemm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/intgemm.h b/intgemm.h
index 07463c0..ac3e6ac 100644
--- a/intgemm.h
+++ b/intgemm.h
@@ -126,6 +126,10 @@ struct Unsupported_8bit {
// These won't ever be called in this capacity, but it does let the code below compile.
typedef Unsupported_8bit AVX512VNNI_8bit;
#endif
+#ifndef INTGEMM_COMPILER_SUPPORTS_AVX512BW
+typedef Unsupported_8bit AVX512_8bit;
+typedef Unsupported_16bit AVX512_16bit;
+#endif
/* Returns:
* axx512vnni if the CPU supports AVX512VNNI