SWDEV-271182 - Fix HdpMemFlushCntl and HdpMemFlushCntl

Change-Id: I33e5a677c6c6e1d83e6343f8e3690d7b34fe2af5


[ROCm/hip commit: 72e7826adf]
Tá an tiomantas seo le fáil i:
Rahul Garg tiomanta 2021-02-12 14:38:56 -05:00
1 tuismitheoir 4500383ffb
tiomantas 10a61380dd
1 comhad athraithe
+2 -2
+2 -2
Féach ar an gComhad
@@ -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_;