Skip to content

Commit

Permalink
reduce default gfx targets (#1311) (#1318)
Browse files Browse the repository at this point in the history
(cherry picked from commit 290f131)
  • Loading branch information
TorreZuk authored Nov 15, 2024
1 parent def6c81 commit 91ba995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,12 @@ else()
if (NOT BUILD_ADDRESS_SANITIZER)
#Set the AMDGPU_TARGETS with backward compatiblity
rocm_check_target_ids(DEFAULT_AMDGPU_TARGETS
TARGETS "gfx908:xnack+;gfx908:xnack-;gfx90a:xnack+;gfx90a:xnack-;gfx940;gfx941;gfx942;gfx1100;gfx1101;;gfx1200;gfx1201"
TARGETS "gfx908:xnack+;gfx908:xnack-;gfx90a:xnack+;gfx90a:xnack-;gfx942;gfx1100;gfx1101;;gfx1200;gfx1201"
)
else()
#build xnack-supported targets only
rocm_check_target_ids(DEFAULT_AMDGPU_TARGETS
TARGETS "gfx908:xnack+;gfx90a:xnack+;gfx940:xnack+;gfx941:xnack+;gfx942:xnack+"
TARGETS "gfx908:xnack+;gfx90a:xnack+;gfx942:xnack+"
)
endif()

Expand Down

0 comments on commit 91ba995

Please sign in to comment.