P4 to Git Change 1460028 by wchau@wchau_OCL_boltzmann on 2017/09/18 14:03:40

SWDEV-111439 - Add query for preferred constant size
	- fixed a mistake of using 64KiB for the size, which should be 16KiB.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#576 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#63 edit


[ROCm/clr commit: a851cc152c]
이 커밋은 다음에 포함됨:
foreman
2017-09-18 14:15:44 -04:00
부모 8ddf97e634
커밋 cfa750bda5
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
+1 -1
파일 보기
@@ -434,7 +434,7 @@ void NullDevice::fillDeviceInfo(const CALdeviceattribs& calAttr, const gslMemInf
//! should be able to create a view with 256 bytes alignement
info_.memBaseAddrAlign_ = 8 * MemBaseAlignment;
info_.preferredConstantBufferSize_ = 64 * Ki;
info_.preferredConstantBufferSize_ = 16 * Ki;
info_.maxConstantBufferSize_ = (settings().ciPlus_) ? info_.maxMemAllocSize_ : 64 * Ki;
info_.maxConstantArgs_ = MaxConstArguments;