From 1629a6fa75ee28987d4d7b8db2d3fe465768ac1d Mon Sep 17 00:00:00 2001 From: Jeff Daily Date: Thu, 3 Aug 2023 17:38:42 -0700 Subject: [PATCH] [ROCm] add gfx1100 and gfx1101 to CMAKE_HIP_ARCHITECTURES (#16972) ### Description Support additional AMD GPU architectures. ### Motivation and Context AMD announced expanding support for additional GPUs. https://community.amd.com/t5/rocm/new-rocm-5-6-release-brings-enhancements-and-optimizations-for/ba-p/614745 This PR is how we will deliver that expanded support to onnxruntime. --- cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index db5f817fdb..4d668fb4cb 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -285,7 +285,7 @@ if (onnxruntime_USE_ROCM) endif() if (NOT CMAKE_HIP_ARCHITECTURES) - set(CMAKE_HIP_ARCHITECTURES "gfx906;gfx908;gfx90a;gfx1030") + set(CMAKE_HIP_ARCHITECTURES "gfx906;gfx908;gfx90a;gfx1030;gfx1100;gfx1101") endif() file(GLOB rocm_cmake_components ${onnxruntime_ROCM_HOME}/lib/cmake/*)