Update optional GPU targets (#675)
This commit is contained in:
committed by
GitHub
orang tua
aafedbdc87
melakukan
014e0d3e65
@@ -69,7 +69,7 @@ if(NOT GPU_TARGETS AND NOT AMDGPU_TARGETS)
|
|||||||
endif()
|
endif()
|
||||||
include(ROCMCheckTargetIds OPTIONAL RESULT_VARIABLE HAS_ROCM_CHECK_TARGET_IDS)
|
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)
|
if(HAS_ROCM_CHECK_TARGET_IDS)
|
||||||
rocm_check_target_ids(OPTIONAL_GPU_TARGETS_AVAILABLE TARGETS ${OPTIONAL_GPU_TARGETS})
|
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
|
else() # if we don't have rocm_check_target_ids, just assume the targets are available
|
||||||
|
|||||||
Reference in New Issue
Block a user