diff --git a/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp b/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp index 9d89882a6d..19de5ed4f9 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp @@ -1231,13 +1231,6 @@ CALGSLDevice::calcScratchBufferSize(uint32 regNum) const m_cs->CalcAllScratchBufferSizes(enabledShadersFlag, scratchSpacePerShaderStage, scratchBufferSizes); - - // SWDEV-79308: - // Reduce the total scratch buffer size by a factor of 4, which in effect reducing the - // max. scratch waves from 32 to 8. This will avoid the required total scratch buffer - // size exceeds the available local memory. - scratchBufferSizes[target] >>= 2; - return scratchBufferSizes[target]; }