From ebce0c52957e36251d778afbb645dc536897b991 Mon Sep 17 00:00:00 2001 From: LakshmiKumar23 Date: Wed, 26 Nov 2025 14:03:16 -0800 Subject: [PATCH 1/2] add optional gpu targets --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c56c499d3..0330a9f744 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -222,7 +222,7 @@ if("${BACKEND}" STREQUAL "HIP") endif() include(ROCMCheckTargetIds OPTIONAL RESULT_VARIABLE HAS_ROCM_CHECK_TARGET_IDS) - set(OPTIONAL_GPU_TARGETS "gfx950;gfx1200;gfx1201") + set(OPTIONAL_GPU_TARGETS "gfx950;gfx1151;gfx1200;gfx1201") if(HAS_ROCM_CHECK_TARGET_IDS) rocm_check_target_ids(OPTIONAL_GPU_TARGETS_AVAILABLE TARGETS ${OPTIONAL_GPU_TARGETS}) else() # if we don't have rocm_check_target_ids, just assume the targets are available From c7680eb4c21bb055e29c932b0773add8a173c49d Mon Sep 17 00:00:00 2001 From: LakshmiKumar23 Date: Tue, 2 Dec 2025 11:50:14 -0800 Subject: [PATCH 2/2] add addiitonal gpu targets --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a612a794e8..64a0aeecea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -225,7 +225,7 @@ if("${BACKEND}" STREQUAL "HIP") # Set supported GPU Targets if(NOT GPU_TARGETS AND NOT AMDGPU_TARGETS) - set(DEFAULT_GPU_TARGETS "gfx908;gfx90a;gfx942;gfx1030;gfx1031;gfx1032;gfx1100;gfx1101;gfx1102;gfx950;gfx1200;gfx1201") + set(DEFAULT_GPU_TARGETS "gfx908;gfx90a;gfx942;gfx1030;gfx1031;gfx1032;gfx1100;gfx1101;gfx1151;gfx1102;gfx950;gfx1200;gfx1201") endif() # Set AMD GPU_TARGETS