From d1aedd589f541b23820a63328beda9d9b2d8d974 Mon Sep 17 00:00:00 2001 From: Qi Li Date: Sat, 7 May 2022 17:30:43 +0800 Subject: [PATCH] [ROCm] add gfx908 support for AMD MI100, test=develop (#42560) --- cmake/hip.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/hip.cmake b/cmake/hip.cmake index 514f5ea9dea..a144a3b3244 100644 --- a/cmake/hip.cmake +++ b/cmake/hip.cmake @@ -71,8 +71,10 @@ set(HIP_CLANG_FLAGS ${HIP_CXX_FLAGS}) # host linker to link. list(APPEND HIP_HCC_FLAGS -fno-gpu-rdc) list(APPEND HIP_HCC_FLAGS --amdgpu-target=gfx906) +list(APPEND HIP_HCC_FLAGS --amdgpu-target=gfx908) list(APPEND HIP_CLANG_FLAGS -fno-gpu-rdc) list(APPEND HIP_CLANG_FLAGS --amdgpu-target=gfx906) +list(APPEND HIP_CLANG_FLAGS --amdgpu-target=gfx908) if(HIP_COMPILER STREQUAL clang) -- GitLab