Update optional GPU targets (#675)

This commit is contained in:
Aryan Salmanpour
2025-11-25 10:15:59 -08:00
committed by GitHub
parent aafedbdc87
commit 014e0d3e65
+1 -1
View File
@@ -69,7 +69,7 @@ if(NOT GPU_TARGETS AND NOT AMDGPU_TARGETS)
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