P4 to Git Change 1334942 by gandryey@gera-w8 on 2016/11/01 16:33:53

SWDEV-106446 - OpenCL constant address space limit control
	- Use maxMemAllocSize for the maximum constant buffer size
	http://ocltc.amd.com/reviews/r/11725/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#557 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#23 edit


[ROCm/clr commit: 3bfd6767a3]
Цей коміт міститься в:
foreman
2016-11-01 16:01:35 -05:00
джерело 3ba5ca1cfd
коміт 4f11b4b14f
3 змінених файлів з 4 додано та 3 видалено
+2 -1
Переглянути файл
@@ -440,7 +440,8 @@ NullDevice::fillDeviceInfo(
//! should be able to create a view with 256 bytes alignement
info_.memBaseAddrAlign_ = 8 * MemBaseAlignment;
info_.maxConstantBufferSize_ = 64 * Ki;
info_.maxConstantBufferSize_ =
(settings().ciPlus_) ? info_.maxMemAllocSize_ : 64 * Ki;
info_.maxConstantArgs_ = MaxConstArguments;
// Image support fields