SWDEV-400515 - populate __HIP_NO_IMAGE_SUPPORT flag

MI300 does not support image APIs.
Apps to use __HIP_NO_IMAGE_SUPPORT instead of arch

Change-Id: I91178bfd27ea7b7188e7a958a876c0264f4469aa


[ROCm/clr commit: 16c6b365c2]
このコミットが含まれているのは:
Ajay
2023-05-22 16:09:14 -07:00
committed by Ajay GunaShekar
コミット 06213e3b4b
+5
ファイルの表示
@@ -980,6 +980,11 @@ int __syncthreads_or(int predicate)
#define XCC_ID_XCC_ID_OFFSET 0
#endif
#if (!defined(__HIP_NO_IMAGE_SUPPORT) && \
(defined(__gfx940__) || defined(__gfx941__) || defined(__gfx942__)))
#define __HIP_NO_IMAGE_SUPPORT 1
#endif
/*
Encoding of parameter bitmask
HW_ID 5:0 HW_ID