P4 to Git Change 1201765 by rili@rili_opencl_stg on 2015/10/20 17:48:08

SWDEV-79077 - Disable >4GB large single allocation for SI because SI is using AMDIL path which doesn't not support 64bits NDRange yet.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#332 edit


[ROCm/clr commit: b817bb5898]
Cette révision appartient à :
foreman
2015-10-20 18:31:32 -04:00
Parent 6c2eebc4d0
révision ca83b79cff
+2 -1
Voir le fichier
@@ -268,7 +268,8 @@ Settings::create(
supportDepthsRGB_ = true;
}
if (use64BitPtr_) {
if ((GPU_ENABLE_LARGE_ALLOCATION) && (calAttr.isWorkstation)) {
if ((GPU_ENABLE_LARGE_ALLOCATION) && (calAttr.isWorkstation)
&& (oclVersion_ == OpenCL20)) {
maxAllocSize_ = 64ULL * Gi;
}
else {