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:
authorNikolay Bogoychev <nheart@gmail.com>2019-04-18 02:35:20 +0300
committerNikolay Bogoychev <nheart@gmail.com>2019-04-18 02:35:20 +0300
commit2daca16d9ca1e41ae7dc50309769841cce1b53c0 (patch)
treed15bd25e70ae68a92c6574fcde254f6b8f2ea967 /avx2_gemm.h
parent2ae6e66e4c4f1727208e795c26361f47d4706b3c (diff)
Fix test compilation and CMakeLists
Diffstat (limited to 'avx2_gemm.h')
-rw-r--r--avx2_gemm.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/avx2_gemm.h b/avx2_gemm.h
index d278e3e..c326976 100644
--- a/avx2_gemm.h
+++ b/avx2_gemm.h
@@ -3,7 +3,6 @@
#include <cstdint>
#include <stdint.h>
-#include "cops.h"
#include "interleave.h"
#include "multiply.h"
@@ -141,6 +140,10 @@ class QuantizeTile8 {
const __m256 mult_;
};
+
+// Technically only requires AVX
+MAXABS_DEFINE(__m256, AVX2)
+
} // namespace
struct AVX2_8bit {
@@ -188,9 +191,4 @@ struct AVX2_8bit {
static const CPUType kUses = CPU_AVX2;
};
-// Technically only requires AVX
-AVX2 float AVX2_MaxAbsolute(const float *begin_float, const float *end_float) {
- MAXABS_DEFINE(__m256)
-}
-
} // namespace intgemm