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
This commit is contained in:
foreman
2015-10-20 18:31:32 -04:00
parent cf9c762159
commit b817bb5898
+2 -1
View File
@@ -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 {