P4 to Git Change 1088793 by bdhanase@bala_workpc_ocl on 2014/10/17 14:36:17
EPR #405824 - Back out changelist 1088461 Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#470 edit
Este commit está contenido en:
@@ -529,14 +529,7 @@ void Device::fillDeviceInfo(
|
||||
info_.maxMemAllocSize_ = std::max(
|
||||
cl_ulong(calStatus.largestBlockVisibleHeap * Mi),
|
||||
cl_ulong(calStatus.largestBlockInvisibleHeap * Mi));
|
||||
|
||||
#if defined(ATI_OS_WIN)
|
||||
if (settings().apuSystem_) {
|
||||
info_.maxMemAllocSize_ = std::max(
|
||||
((static_cast<cl_ulong>(calAttr.uncachedRemoteRAM) * Mi) / 2),
|
||||
info_.maxMemAllocSize_);
|
||||
}
|
||||
#endif
|
||||
|
||||
info_.maxMemAllocSize_ = cl_ulong(info_.maxMemAllocSize_ *
|
||||
std::min(GPU_MAX_ALLOC_PERCENT, 100u) / 100u);
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user