P4 to Git Change 1081252 by bdhanase@bala_workpc_ocl on 2014/09/25 18:40:10

EPR #405824 - Back out changelist 1079967.  It causes regressions in other apus.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#464 edit
Этот коммит содержится в:
foreman
2014-09-25 18:46:24 -04:00
родитель a510b4480b
Коммит 93e05cdac8
-6
Просмотреть файл
@@ -538,12 +538,6 @@ void Device::fillDeviceInfo(
cl_ulong(calStatus.largestBlockVisibleHeap * Mi),
cl_ulong(calStatus.largestBlockInvisibleHeap * Mi));
if (settings().apuSystem_) {
info_.maxMemAllocSize_ = std::max(
((static_cast<cl_ulong>(calAttr.uncachedRemoteRAM) * Mi) / 2),
info_.maxMemAllocSize_);
}
info_.maxMemAllocSize_ = cl_ulong(info_.maxMemAllocSize_ *
std::min(GPU_MAX_ALLOC_PERCENT, 100u) / 100u);