diff --git a/src/gpu/intel/jit/gemm/generator/pieces/matrix_access.cxx b/src/gpu/intel/jit/gemm/generator/pieces/matrix_access.cxx index 52d8f055922..12c6018e33a 100644 --- a/src/gpu/intel/jit/gemm/generator/pieces/matrix_access.cxx +++ b/src/gpu/intel/jit/gemm/generator/pieces/matrix_access.cxx @@ -518,8 +518,8 @@ void BLASKernelGenerator::loadLoadStoreDescriptors(bool load, bool store, Re exdescStore.parts.extMessageLen = 0; descLoad.parts.responseLen = 0; - int underlyingSIMD = std::max(block.simdSize, maxScatteredSIMD(hw, astrategy) >> 1); - int log2GRFs = ilog2(underlyingSIMD * (int)block.ebytes) - GRF::log2Bytes(hw); + uint32_t underlyingSIMD = std::max(block.simdSize, (uint32_t)maxScatteredSIMD(hw, astrategy) >> 1); + int log2GRFs = ilog2(underlyingSIMD * block.ebytes) - GRF::log2Bytes(hw); int log2Components = int(block.splitComplex); if (channel) mov(1, t2, 0x1000 << log2Components);