OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[CPU] Fix warning in debug build (#28691)
Vladislav Golubev7d3ca0813130
diff --git a/src/plugins/intel_cpu/src/nodes/kernels/x64/mlp_kernel.cpp b/src/plugins/intel_cpu/src/nodes/kernels/x64/mlp_kernel.cppindex 3e622e6ee0f..be92579674b 100644--- a/src/plugins/intel_cpu/src/nodes/kernels/x64/mlp_kernel.cpp+++ b/src/plugins/intel_cpu/src/nodes/kernels/x64/mlp_kernel.cpp@@ -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);@@ -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);