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:
authorMateusz Chudyk <mateuszchudyk@gmail.com>2019-06-18 16:34:01 +0300
committerMateusz Chudyk <mateuszchudyk@gmail.com>2019-06-18 16:41:12 +0300
commitee2742f9135500a957393a6bdf3ee2ac1e7f9862 (patch)
tree60b3f74362c574d5b3fcb76522679c1e40f358b2 /avx2_gemm.h
parentf5c08aea11e572e57216f812c0123f0627ff2853 (diff)
Make CPUType scoped enum
Diffstat (limited to 'avx2_gemm.h')
-rw-r--r--avx2_gemm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/avx2_gemm.h b/avx2_gemm.h
index a03ff09..1482090 100644
--- a/avx2_gemm.h
+++ b/avx2_gemm.h
@@ -80,11 +80,11 @@ struct AVX2_16bit {
avx2::SelectColumnsOfB((const __m256i*)input, (__m256i*)output, rows * 2, cols_begin, cols_end);
}
- INTGEMM_MULTIPLY16(__m256i, INTGEMM_AVX2, CPUType::CPU_AVX2)
+ INTGEMM_MULTIPLY16(__m256i, INTGEMM_AVX2, CPUType::AVX2)
constexpr static const char *const kName = "16-bit INTGEMM_AVX2";
- static const CPUType kUses = CPU_AVX2;
+ static const CPUType kUses = CPUType::AVX2;
};
namespace avx2 {
@@ -169,11 +169,11 @@ struct AVX2_8bit {
avx2::SelectColumnsOfB((const __m256i*)input, (__m256i*)output, rows, cols_begin, cols_end);
}
- INTGEMM_MULTIPLY8(__m256i, INTGEMM_AVX2, CPUType::CPU_AVX2)
+ INTGEMM_MULTIPLY8(__m256i, INTGEMM_AVX2, CPUType::AVX2)
constexpr static const char *const kName = "8-bit INTGEMM_AVX2";
- static const CPUType kUses = CPU_AVX2;
+ static const CPUType kUses = CPUType::AVX2;
};
} // namespace intgemm