diff --git a/bestla/bestla/kernel_avx512f.h b/bestla/bestla/kernel_avx512f.h index 404327110..82c4635f8 100644 --- a/bestla/bestla/kernel_avx512f.h +++ b/bestla/bestla/kernel_avx512f.h @@ -916,8 +916,8 @@ static inline BTLA_CODE quantize_f32_sign_int_rowblock_sym_auto(const float* src for (; j < align_row; j += blocksize) simd_process_block(blocksize); if (j < row) simd_process_block(row - align_row); } - kernel::ref::quantize_f32_sign_int_rowblock(srcptr + i, dstptr + i, row, col - i, ld_src, ld_dst, - scales + i, nullptr, blocksize); + kernel::ref::quantize_f32_sign_int_rowblock(srcptr + i, dstptr + i, row, col - i, ld_src, ld_dst, scales + i, + nullptr, blocksize); return BTLA_CODE::Success; } diff --git a/bestla/bestla/kernel_wrapper.h b/bestla/bestla/kernel_wrapper.h index dbae77e05..605d2252e 100644 --- a/bestla/bestla/kernel_wrapper.h +++ b/bestla/bestla/kernel_wrapper.h @@ -304,11 +304,11 @@ class QuantizeSignIntRowBlock { if constexpr (utils::isa_base::avx512f && QDT_T != BTLA_DTYPE::S4_FULLRANGE) { // TODO(zhe): support simd version s4_fullrange quantization. return avx512f::quantize_f32_sign_int_rowblock(srcptr, dstptr, row, col, ld_src, ld_dst, scales, - zero_points, blocksize); + zero_points, blocksize); } #endif return ref::quantize_f32_sign_int_rowblock(srcptr, dstptr, row, col, ld_src, ld_dst, scales, zero_points, - blocksize); + blocksize); } }; diff --git a/bestla/bestla/ut/bestla_prologue_b.cpp b/bestla/bestla/ut/bestla_prologue_b.cpp index 182587860..96ef4762d 100644 --- a/bestla/bestla/ut/bestla_prologue_b.cpp +++ b/bestla/bestla/ut/bestla_prologue_b.cpp @@ -206,7 +206,7 @@ class UT_BlockQunatize_S3S4 { }; #ifdef BTLA_UT_PROLOGUE_B // no proper threshold for this UT -//static UT_BlockQunatize_S3S4 sUT_BlockQunatize_S3S4; +// static UT_BlockQunatize_S3S4 sUT_BlockQunatize_S3S4; #endif class UT_S3_WOQ {