From caa94251e6100115e0a5111bb43617da9e2b6985 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Sat, 25 Feb 2023 00:15:16 +0530 Subject: [PATCH] SWDEV-383461 - gfx11 not supporting wave64 check (#3170) Change-Id: I12e8ff2cb8ad9c72cba216847366f2e0ab15c497 [ROCm/hip commit: c629e630247c17dafb2bc5c85dad8770175e1d33] --- projects/hip/include/hip/hip_runtime.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hip/include/hip/hip_runtime.h b/projects/hip/include/hip/hip_runtime.h index a8e36d19db..0faf215176 100644 --- a/projects/hip/include/hip/hip_runtime.h +++ b/projects/hip/include/hip/hip_runtime.h @@ -37,8 +37,8 @@ THE SOFTWARE. #ifndef HIP_INCLUDE_HIP_HIP_RUNTIME_H #define HIP_INCLUDE_HIP_HIP_RUNTIME_H -#if (__gfx1010__ || __gfx1011__ || __gfx1012__ || __gfx1030__ || __gfx1031__) && __AMDGCN_WAVEFRONT_SIZE == 64 -#error HIP is not supported on GFX10 with wavefront size 64 +#if __HIP_DEVICE_COMPILE__ && !__GFX8__ && !__GFX9__ && __AMDGCN_WAVEFRONT_SIZE == 64 +#error HIP is not supported on the specified GPU ARCH with wavefront size 64 #endif #if !defined(__HIPCC_RTC__)