Temporarily disable maxTexture1D in hipDeviceProp_t for VDI (#1237)
[ROCm/clr commit: 13301398d8]
这个提交包含在:
1 父节点
71f87c218e
当前提交
16632b627c
1 个文件已更改
+2
@@ -117,9 +117,11 @@ typedef struct hipDeviceProp_t {
|
|||||||
int integrated; ///< APU vs dGPU
|
int integrated; ///< APU vs dGPU
|
||||||
int cooperativeLaunch; ///< HIP device supports cooperative launch
|
int cooperativeLaunch; ///< HIP device supports cooperative launch
|
||||||
int cooperativeMultiDeviceLaunch; ///< HIP device supports cooperative launch on multiple devices
|
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 maxTexture1D; ///< Maximum number of elements in 1D images
|
||||||
int maxTexture2D[2]; ///< Maximum dimensions (width, height) of 2D images, in image elements
|
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
|
int maxTexture3D[3]; ///< Maximum dimensions (width, height, depth) of 3D images, in image elements
|
||||||
|
#endif
|
||||||
} hipDeviceProp_t;
|
} hipDeviceProp_t;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户