SWDEV-271182 - Fix HdpMemFlushCntl and HdpMemFlushCntl
Change-Id: I33e5a677c6c6e1d83e6343f8e3690d7b34fe2af5
This commit is contained in:
1 szülő
3f5fb8e9df
commit
607795ec9d
1 file changed
+2
-2
@@ -217,8 +217,8 @@ hipError_t hipGetDeviceProperties ( hipDeviceProp_t* props, hipDevice_t device )
|
||||
deviceProps.maxTexture3D[0] = info.image3DMaxWidth_;
|
||||
deviceProps.maxTexture3D[1] = info.image3DMaxHeight_;
|
||||
deviceProps.maxTexture3D[2] = info.image3DMaxDepth_;
|
||||
deviceProps.hdpMemFlushCntl = nullptr;
|
||||
deviceProps.hdpRegFlushCntl = nullptr;
|
||||
deviceProps.hdpMemFlushCntl = info.hdpMemFlushCntl;
|
||||
deviceProps.hdpRegFlushCntl = info.hdpRegFlushCntl;
|
||||
|
||||
deviceProps.memPitch = info.maxMemAllocSize_;
|
||||
deviceProps.textureAlignment = info.imageBaseAddressAlignment_;
|
||||
|
||||
Reference in new issue
Block a user