From e50e79fa2687b8b1482e40b2a62f393e99050f63 Mon Sep 17 00:00:00 2001 From: Justin Chu Date: Fri, 25 Jul 2025 20:00:40 +0000 Subject: [PATCH] Add gfx1151 and gfx1152 to supported HIP architectures To run MIGraphX EP with ROCm6.4 on Linux on gfx1151 and gfx1152 architectures, they must be added to CMAKE_HIP_ARCHITECTURES. Signed-off-by: justichu-amd --- cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index b64d41cc20d21..6e0e31ceae711 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -339,7 +339,7 @@ if (onnxruntime_USE_ROCM) if (ROCM_VERSION_DEV VERSION_LESS "6.2") message(FATAL_ERROR "CMAKE_HIP_ARCHITECTURES is not set when ROCm version < 6.2") else() - set(CMAKE_HIP_ARCHITECTURES "gfx908;gfx90a;gfx1030;gfx1100;gfx1101;gfx942;gfx1200;gfx1201;gfx1150") + set(CMAKE_HIP_ARCHITECTURES "gfx908;gfx90a;gfx1030;gfx1100;gfx1101;gfx942;gfx1200;gfx1201;gfx1150;gfx1151;gfx1152") endif() endif()