Skip to content

Commit

Permalink
[CPU] Fix warning in debug build (#28691)
Browse files Browse the repository at this point in the history
### Details:
Fix "-Wsign-compare" warning in CPU plugin debug build

### Tickets:
 - *N\A*
  • Loading branch information
v-Golubev authored Jan 28, 2025
1 parent 6465c23 commit 7d3ca08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/intel_cpu/src/nodes/kernels/x64/mlp_kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ void MKernel::run(int M, // actual M
}

void MatrixDynQuantPerRow::quantize(size_t BM, ov::bfloat16* psrc, int src_stride) {
assert(BM <= M);
assert(static_cast<int64_t>(BM) <= M);
parallel_nt_static(0, [&](const size_t ithr, const size_t nthr) {
size_t start{0}, end{0};
splitter(BM, nthr, ithr, start, end);
Expand All @@ -521,7 +521,7 @@ void MatrixDynQuantPerRow::quantize(size_t BM, ov::bfloat16* psrc, int src_strid
}

void MatrixDynQuantPerRow::quantize(size_t BM, ov::float16* psrc, int src_stride) {
assert(BM <= M);
assert(static_cast<int64_t>(BM) <= M);
parallel_nt_static(0, [&](const size_t ithr, const size_t nthr) {
size_t start{0}, end{0};
splitter(BM, nthr, ithr, start, end);
Expand Down

0 comments on commit 7d3ca08

Please sign in to comment.