From 6c438e311fbe4dafa82049ad39a7d0eee420b85d Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Fri, 19 Jul 2019 11:38:32 -0400 Subject: [PATCH] Temporarily disable maxTexture1D in hipDeviceProp_t for VDI (#1237) [ROCm/hip commit: d7aea38d7474450ede240ac56de387b84326026e] --- projects/hip/include/hip/hip_runtime_api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index e6cdfdd304..637de712b3 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -117,9 +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 three 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 +#endif } hipDeviceProp_t;