From e78e7b8abc5e2d0034d04dc17e39463fafcd3e55 Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Thu, 4 Feb 2021 19:58:43 +0000 Subject: [PATCH] SWDEV-271182 - Fix HdpMemFlushCntl and HdpMemFlushCntl Change-Id: I33e5a677c6c6e1d83e6343f8e3690d7b34fe2af5 [ROCm/clr commit: 607795ec9de0c14c3fb24ee2f7dcc25b2a95de6b] --- projects/clr/hipamd/rocclr/hip_device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/clr/hipamd/rocclr/hip_device.cpp b/projects/clr/hipamd/rocclr/hip_device.cpp index 0a157541fb..3488bc21bd 100644 --- a/projects/clr/hipamd/rocclr/hip_device.cpp +++ b/projects/clr/hipamd/rocclr/hip_device.cpp @@ -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_;