diff options
author | Kenneth Heafield <github@kheafield.com> | 2018-06-24 00:09:38 +0300 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2018-06-24 00:09:38 +0300 |
commit | 09be9c249c73bd3b4c21d261ad3e718981fe2eaa (patch) | |
tree | 972ee0e680487b56c7935e15dc39bb9cf1c33c50 /avx2_gemm.h | |
parent | 0ae900a954ee19ebb8d33ba57493e4a14249c719 (diff) |
Change to kName using the name of the implementation behind dispatch
Diffstat (limited to 'avx2_gemm.h')
-rw-r--r-- | avx2_gemm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avx2_gemm.h b/avx2_gemm.h index 65d8a05..4a07971 100644 --- a/avx2_gemm.h +++ b/avx2_gemm.h @@ -21,7 +21,7 @@ struct AVX2_16bit { static void Multiply(const int16_t *A, const int16_t *B, float *C, float unquant_mult, int A_rows, int width, int B_cols); - static const char *Name() { return "AVX2 16-bit"; } + static const char *const kName; }; struct AVX2_8bit { @@ -42,7 +42,7 @@ struct AVX2_8bit { static void Multiply(const int8_t *A, const int8_t *B, float *C, float unquant_mult, int A_rows, int width, int B_cols); - static const char *Name() { return "AVX2 8-bit"; } + static const char *const kName; }; } // namespace intgemm |