Add image1DMaxWidth_ for maxTexture1D property

Needed by SWDEV-254068

Change-Id: Ic650dfb6e5b38d7544ba647c53de52deda39b92d


[ROCm/clr commit: c0f8b52f06]
Este cometimento está contido em:
Rahul Garg cometeu 2020-10-14 17:30:43 -04:00
1 ascendente 36c8902ed8
cometimento 40b90694c6
4 ficheiros modificados
+14

Não existem ficheiros que correspondam à sua pesquisa

+1
Ver ficheiro
@@ -541,6 +541,7 @@ void NullDevice::fillDeviceInfo(const CALdeviceattribs& calAttr, const gslMemInf
// OpenCL1.2 device info fields
info_.builtInKernels_ = "";
info_.imageMaxBufferSize_ = MaxImageBufferSize;
info_.image1DMaxWidth_ = maxTextureSize;
info_.imageMaxArraySize_ = MaxImageArraySize;
info_.preferredInteropUserSync_ = true;
info_.printfBufferSize_ = PrintfDbg::WorkitemDebugSize * info().maxWorkGroupSize_;