diff options
Diffstat (limited to 'avx512_gemm.h')
-rw-r--r-- | avx512_gemm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/avx512_gemm.h b/avx512_gemm.h index 2bc0358..21b49cf 100644 --- a/avx512_gemm.h +++ b/avx512_gemm.h @@ -34,6 +34,8 @@ struct AVX512_16bit { static void PrepareB(const float *input, int16_t *output, float quant_mult, int rows, int cols); + static void SelectColumnsB(const int16_t *input, int16_t *output, int rows, const int *cols_begin, const int *cols_end); + 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 *const kName; @@ -59,6 +61,8 @@ struct AVX512_8bit { static void PrepareB(const float *input, int8_t *output, float quant_mult, int rows, int cols); + static void SelectColumnsB(const int8_t *input, int8_t *output, int rows, const int *cols_begin, const int *cols_end); + 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 *const kName; |