P4 to Git Change 1164406 by rili@rili_opencl_stg on 2015/06/23 17:15:31

EPR #419313 - Limit >4GB allocation support only for workstation board

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#312 edit
This commit is contained in:
foreman
2015-06-23 17:27:26 -04:00
förälder 4df9b2a30d
incheckning 83ea36fe33
+2 -2
Visa fil
@@ -321,8 +321,8 @@ Settings::create(
supportDepthsRGB_ = true;
}
if (use64BitPtr_) {
if (GPU_ENABLE_LARGE_ALLOCATION) {
maxAllocSize_ = 16ULL * Gi;
if ((GPU_ENABLE_LARGE_ALLOCATION) && (calAttr.isWorkstation)) {
maxAllocSize_ = 64ULL * Gi;
}
else {
maxAllocSize_ = 4048 * Mi;