Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyu-intel committed Mar 13, 2024
1 parent 1392bd7 commit 0000bce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bestla/bestla/kernel_avx512f.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<QDT_T>(srcptr + i, dstptr + i, row, col - i, ld_src, ld_dst,
scales + i, nullptr, blocksize);
kernel::ref::quantize_f32_sign_int_rowblock<QDT_T>(srcptr + i, dstptr + i, row, col - i, ld_src, ld_dst, scales + i,
nullptr, blocksize);
return BTLA_CODE::Success;
}

Expand Down
4 changes: 2 additions & 2 deletions bestla/bestla/kernel_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,11 @@ class QuantizeSignIntRowBlock {
if constexpr (utils::isa_base<ISA_T>::avx512f &&
QDT_T != BTLA_DTYPE::S4_FULLRANGE) { // TODO(zhe): support simd version s4_fullrange quantization.
return avx512f::quantize_f32_sign_int_rowblock<QDT_T>(srcptr, dstptr, row, col, ld_src, ld_dst, scales,
zero_points, blocksize);
zero_points, blocksize);
}
#endif
return ref::quantize_f32_sign_int_rowblock<QDT_T>(srcptr, dstptr, row, col, ld_src, ld_dst, scales, zero_points,
blocksize);
blocksize);
}
};

Expand Down
2 changes: 1 addition & 1 deletion bestla/bestla/ut/bestla_prologue_b.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0000bce

Please sign in to comment.