From 1969e890034dc421da157458b61bd0d7f1487c3f Mon Sep 17 00:00:00 2001 From: Wenkai Du <43822138+wenkaidu@users.noreply.github.com> Date: Tue, 30 Jul 2019 13:56:45 -0700 Subject: [PATCH] Add gfx908 target (#106) --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f70d071914..4c0aedf076 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,13 +135,15 @@ endif() target_link_libraries(rccl PRIVATE --amdgpu-target=gfx803 PRIVATE --amdgpu-target=gfx900 - PRIVATE --amdgpu-target=gfx906) + PRIVATE --amdgpu-target=gfx906 + PRIVATE --amdgpu-target=gfx908) if("${HIP_COMPILER}" MATCHES "clang") target_compile_options(rccl PRIVATE --amdgpu-target=gfx803 PRIVATE --amdgpu-target=gfx900 PRIVATE --amdgpu-target=gfx906 + PRIVATE --amdgpu-target=gfx908 PRIVATE -fgpu-rdc) target_link_libraries(rccl PRIVATE -fgpu-rdc) endif()