Update optional GPU targets (#675)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user