From fe9cfbdd3c14eae1e4ebc57564f3a8697a6a3e2e Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Wed, 7 Aug 2019 04:00:32 +0530 Subject: [PATCH] Enable temporarily disabled device properties on HIP/VDI [ROCm/hip commit: 59bda1497996731ce3336b3f422128f50b1a4796] --- projects/hip/include/hip/hip_runtime_api.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index 1c8e971545..1f7183acf0 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -117,13 +117,11 @@ typedef struct hipDeviceProp_t { int integrated; ///< APU vs dGPU int cooperativeLaunch; ///< HIP device supports cooperative launch int cooperativeMultiDeviceLaunch; ///< HIP device supports cooperative launch on multiple devices -#if !__HIP_VDI__ // Temporarily disable the following five new fields for HIP/VDI runtime int maxTexture1D; ///< Maximum number of elements in 1D images int maxTexture2D[2]; ///< Maximum dimensions (width, height) of 2D images, in image elements int maxTexture3D[3]; ///< Maximum dimensions (width, height, depth) of 3D images, in image elements unsigned int* hdpMemFlushCntl; ///< Addres of HDP_MEM_COHERENCY_FLUSH_CNTL register unsigned int* hdpRegFlushCntl; ///< Addres of HDP_REG_COHERENCY_FLUSH_CNTL register -#endif } hipDeviceProp_t;