Fix maxTexture1D query
Needed by SWDEV-254068
Change-Id: Ib43a3e5e96d3882af354208063e5502673c0f35a
[ROCm/hip commit: 01f6cbed7d]
Этот коммит содержится в:
1 родитель
c506e4ebdd
Коммит
1df66da59d
1 file changed
+1
-1
@@ -209,7 +209,7 @@ hipError_t hipGetDeviceProperties ( hipDeviceProp_t* props, hipDevice_t device )
|
||||
deviceProps.cooperativeMultiDeviceUnmatchedBlockDim = info.cooperativeMultiDeviceGroups_;
|
||||
deviceProps.cooperativeMultiDeviceUnmatchedSharedMem = info.cooperativeMultiDeviceGroups_;
|
||||
|
||||
deviceProps.maxTexture1D = info.imageMaxBufferSize_;
|
||||
deviceProps.maxTexture1D = info.image1DMaxWidth_;
|
||||
deviceProps.maxTexture2D[0] = info.image2DMaxWidth_;
|
||||
deviceProps.maxTexture2D[1] = info.image2DMaxHeight_;
|
||||
deviceProps.maxTexture3D[0] = info.image3DMaxWidth_;
|
||||
|
||||
Reference in new issue
Block a user