2
0

P4 to Git Change 1459027 by wchau@wchau_OCL_boltzmann on 2017/09/14 15:39:04

SWDEV-111439 - Add query for preferred constant size

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#34 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#291 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#575 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#61 edit


[ROCm/clr commit: b44fd81c76]
Este cometimento está contido em:
foreman
2017-09-14 16:26:32 -04:00
ascendente a12776ba65
cometimento 9021c30aad
4 ficheiros modificados com 6 adições e 0 eliminações
+1
Ver ficheiro
@@ -434,6 +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_.maxConstantBufferSize_ = (settings().ciPlus_) ? info_.maxMemAllocSize_ : 64 * Ki;
info_.maxConstantArgs_ = MaxConstArguments;