From d36c5f9e59f92a021c987989cd79d44460e0da42 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 31 Jan 2023 21:02:55 +0000 Subject: gentoo auto-resync : 31:01:2023 - 21:02:55 --- eclass/rocm.eclass | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'eclass/rocm.eclass') diff --git a/eclass/rocm.eclass b/eclass/rocm.eclass index cf7a18b70ad2..b78dfea1cc31 100644 --- a/eclass/rocm.eclass +++ b/eclass/rocm.eclass @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: rocm.eclass @@ -138,17 +138,18 @@ _rocm_set_globals() { # may help. Gentoo have patches to enable gfx1031 as well. local unofficial_amdgpu_targets official_amdgpu_targets case ${ROCM_VERSION} in - 4.*) + 5.[0-3].*) unofficial_amdgpu_targets=( - gfx803 gfx900 gfx1010 gfx1011 gfx1012 gfx1030 + gfx803 gfx900 gfx1010 gfx1011 gfx1012 gfx1031 ) official_amdgpu_targets=( - gfx906 gfx908 + gfx906 gfx908 gfx90a gfx1030 ) ;; - 5.*) + 5.*|9999) unofficial_amdgpu_targets=( - gfx803 gfx900 gfx1010 gfx1011 gfx1012 gfx1031 + gfx803 gfx900 gfx1010 gfx1011 gfx1012 + gfx1031 gfx1100 gfx1101 gfx1102 ) official_amdgpu_targets=( gfx906 gfx908 gfx90a gfx1030 -- cgit v1.2.3