Report maxTexture1DLinear property

Change-Id: If562bbee80d8b98712806cb8258b5a7482d33bf6


[ROCm/hip commit: fb04bdc4f2]
Tá an tiomantas seo le fáil i:
Vladislav Sytchenko
2020-11-05 10:42:18 -05:00
tuismitheoir cd656b9304
tiomantas e0dfaf51e9
D'athraigh 2 comhad le 2 breiseanna agus 0 scriosta
+1
Féach ar an gComhad
@@ -209,6 +209,7 @@ hipError_t hipGetDeviceProperties ( hipDeviceProp_t* props, hipDevice_t device )
deviceProps.cooperativeMultiDeviceUnmatchedBlockDim = info.cooperativeMultiDeviceGroups_;
deviceProps.cooperativeMultiDeviceUnmatchedSharedMem = info.cooperativeMultiDeviceGroups_;
deviceProps.maxTexture1DLinear = 16 * info.imageMaxBufferSize_; // Max pixel size is 16 bytes
deviceProps.maxTexture1D = info.image1DMaxWidth_;
deviceProps.maxTexture2D[0] = info.image2DMaxWidth_;
deviceProps.maxTexture2D[1] = info.image2DMaxHeight_;