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:
@@ -321,8 +321,8 @@ Settings::create(
|
|||||||
supportDepthsRGB_ = true;
|
supportDepthsRGB_ = true;
|
||||||
}
|
}
|
||||||
if (use64BitPtr_) {
|
if (use64BitPtr_) {
|
||||||
if (GPU_ENABLE_LARGE_ALLOCATION) {
|
if ((GPU_ENABLE_LARGE_ALLOCATION) && (calAttr.isWorkstation)) {
|
||||||
maxAllocSize_ = 16ULL * Gi;
|
maxAllocSize_ = 64ULL * Gi;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
maxAllocSize_ = 4048 * Mi;
|
maxAllocSize_ = 4048 * Mi;
|
||||||
|
|||||||
Reference in New Issue
Block a user