From bce32b5c9bd1851303e40e73653ed55985c8a644 Mon Sep 17 00:00:00 2001
From: foreman
Date: Tue, 12 Jan 2016 17:51:14 -0500
Subject: [PATCH] P4 to Git Change 1226990 by johtaylo@johtaylo_L7_stg on
2016/01/12 17:44:18
SWDEV-79308 - Back out changelist 1226881
Causes failures in execution model, math and pipes
http://ocltc.amd.com:8111/viewLog.html?buildId=14142599&tab=buildResultsDiv&buildTypeId=TestsOpenCLScSanity_BonaireConformanceWin764bit
Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer
size exceeds the available local memory.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#153 edit
[ROCm/clr commit: e66e70e316f233b66eb5f48e11bf545aad46876b]
---
.../rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp | 7 -------
1 file changed, 7 deletions(-)
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];
}