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:
Diffstat (limited to 'avx2_gemm.h')
-rw-r--r--avx2_gemm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/avx2_gemm.h b/avx2_gemm.h
index 9040551..c5ca0bc 100644
--- a/avx2_gemm.h
+++ b/avx2_gemm.h
@@ -12,7 +12,7 @@ namespace intgemm {
namespace avx2 {
INTGEMM_AVX2 inline __m256i QuantizerGrab(const float *input, const __m256 quant_mult_reg) {
- return quantize(*reinterpret_cast<const __m256*>(input), quant_mult_reg);
+ return quantize(loadu_ps<__m256>(input), quant_mult_reg);
}
INTGEMM_SELECT_COL_B(INTGEMM_AVX2, __m256i)