diff options
author | Yiyang Wu <xgreenlandforwyy@gmail.com> | 2024-04-14 23:43:17 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2024-05-18 11:46:51 +0800 |
commit | 7475e8ff0742ead7b45edea3ed7e79c394e23958 (patch) | |
tree | f1dd8c8f062a4fb2a41e8fa892a8fe1efbad775e /eclass | |
parent | rocm.eclass: remove xnack flag for broader compatibility (diff) | |
download | gentoo-7475e8ff0742ead7b45edea3ed7e79c394e23958.tar.gz gentoo-7475e8ff0742ead7b45edea3ed7e79c394e23958.tar.bz2 gentoo-7475e8ff0742ead7b45edea3ed7e79c394e23958.zip |
rocm.eclass: Enable ROCm 6, add gfx94{0,1,2} (MI300) support
Update the references, since the original reference does not
contain MI300. The "see also" blog is also removed because it hasn't been
updated for 2 years.
Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/rocm.eclass | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/eclass/rocm.eclass b/eclass/rocm.eclass index e03e8bdd507a..7039455dec6b 100644 --- a/eclass/rocm.eclass +++ b/eclass/rocm.eclass @@ -161,7 +161,7 @@ _rocm_set_globals() { gfx906 gfx908 gfx90a gfx1030 ) ;; - 5.*|9999) + 5.*) unofficial_amdgpu_targets=( gfx803 gfx900 gfx1010 gfx1011 gfx1012 gfx1031 gfx1100 gfx1101 gfx1102 @@ -170,6 +170,16 @@ _rocm_set_globals() { gfx906 gfx908 gfx90a gfx1030 ) ;; + 6.*|9999) + unofficial_amdgpu_targets=( + gfx803 gfx900 gfx940 gfx941 + gfx1010 gfx1011 gfx1012 + gfx1031 gfx1101 gfx1102 + ) + official_amdgpu_targets=( + gfx906 gfx908 gfx90a gfx942 gfx1030 gfx1100 + ) + ;; *) die "Unknown ROCm major version! Please update rocm.eclass before bumping to new ebuilds" ;; |