diff --git a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/lowered/insert_brgemm_copy_buffers.cpp b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/lowered/insert_brgemm_copy_buffers.cpp index b2bab35a17c1ad..d68469e0bde486 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/lowered/insert_brgemm_copy_buffers.cpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/lowered/insert_brgemm_copy_buffers.cpp @@ -58,6 +58,7 @@ bool InsertBrgemmCopyBuffers::run(LinearIR& linear_ir, LinearIR::constExprIt beg const auto vnni_factor = brgemm_utils::compute_vnni_factor(src_dt); const auto inner_k_blk = brgemm_utils::repacking::compute_inner_k_block(src_dt); + OPENVINO_ASSERT(inner_k_blk > 0, "inner_k_blk cannot be zero!"); const auto tile_scratch_size = BrgemmCPU::SCRATCH_BYTE_SIZE; const auto current_scratch_size = scratch_expr->get_byte_size(); OPENVINO_ASSERT(current_scratch_size == tile_scratch_size,