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


[ROCm/clr commit: 83ea36fe33]
This commit is contained in:
foreman
2015-06-23 17:27:26 -04:00
orang tua d630a0c113
melakukan 6808f3be5c
@@ -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;