Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions projects/rocblas/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ if (NOT BUILD_ADDRESS_SANITIZER)
set( TARGET_LIST_ROCM_5.7 "gfx803;gfx900;gfx906:xnack-;gfx908:xnack-;gfx90a:xnack+;gfx90a:xnack-;gfx942;gfx1010;gfx1012;gfx1030;gfx1100;gfx1101;gfx1102")
set( TARGET_LIST_ROCM_6.0 "gfx900;gfx906:xnack-;gfx908:xnack-;gfx90a:xnack+;gfx90a:xnack-;gfx942;gfx1010;gfx1012;gfx1030;gfx1100;gfx1101;gfx1102")
set( TARGET_LIST_ROCM_6.3 "gfx900;gfx906:xnack-;gfx908:xnack-;gfx90a;gfx942;gfx1010;gfx1012;gfx1030;gfx1100;gfx1101;gfx1102;gfx1151;gfx1200;gfx1201")
set( TARGET_LIST_ROCM_6.5 "gfx900;gfx906:xnack-;gfx908:xnack-;gfx90a;gfx942;gfx950;gfx1010;gfx1012;gfx1030;gfx1100;gfx1101;gfx1102;gfx1151;gfx1200;gfx1201")
set( TARGET_LIST_ROCM_7.0 "gfx900;gfx906:xnack-;gfx908:xnack-;gfx90a;gfx942;gfx950;gfx1010;gfx1012;gfx1030;gfx1100;gfx1101;gfx1102;gfx1150;gfx1151;gfx1200;gfx1201")
Comment thread
amcamd marked this conversation as resolved.
else()
set( TARGET_LIST_ROCM_5.6 "gfx908:xnack+;gfx90a:xnack+")
set( TARGET_LIST_ROCM_5.7 "gfx908:xnack+;gfx90a:xnack+;gfx942:xnack+")
set( TARGET_LIST_ROCM_6.0 "gfx908:xnack+;gfx90a:xnack+;gfx942:xnack+")
set( TARGET_LIST_ROCM_6.3 "gfx908:xnack+;gfx90a:xnack+;gfx942:xnack+")
set( TARGET_LIST_ROCM_6.5 "gfx908:xnack+;gfx90a:xnack+;gfx942:xnack+;gfx950:xnack+")
set( TARGET_LIST_ROCM_7.0 "gfx908:xnack+;gfx90a:xnack+;gfx942:xnack+;gfx950:xnack+")
endif()

if(ROCM_PLATFORM_VERSION)
Expand All @@ -101,15 +101,15 @@ if(ROCM_PLATFORM_VERSION)
set(SUPPORTED_TARGETS "${TARGET_LIST_ROCM_5.7}")
elseif(${ROCM_PLATFORM_VERSION} VERSION_LESS 6.3.0)
set(SUPPORTED_TARGETS "${TARGET_LIST_ROCM_6.0}")
elseif(${ROCM_PLATFORM_VERSION} VERSION_LESS 6.5.0)
elseif(${ROCM_PLATFORM_VERSION} VERSION_LESS 7.0.0)
set(SUPPORTED_TARGETS "${TARGET_LIST_ROCM_6.3}")
else()
set(SUPPORTED_TARGETS "${TARGET_LIST_ROCM_6.5}")
set(SUPPORTED_TARGETS "${TARGET_LIST_ROCM_7.0}")
endif()
message(STATUS "ROCM Platform Version: ${ROCM_PLATFORM_VERSION} default supported gfx list")
else()
message(STATUS "ROCM Platform Version: ${ROCM_PLATFORM_VERSION} is not set, using latest supported gfx list")
set(SUPPORTED_TARGETS "${TARGET_LIST_ROCM_6.5}")
set(SUPPORTED_TARGETS "${TARGET_LIST_ROCM_7.0}")
endif()

if( AMDGPU_TARGETS AND NOT GPU_TARGETS )
Expand Down
Loading