From bb3a663392edebb1f9918393a875dc3b5db2c995 Mon Sep 17 00:00:00 2001 From: Alberto Invernizzi <9337627+albestro@users.noreply.github.com> Date: Tue, 5 Jul 2022 14:33:30 +0200 Subject: ROCmPackage: unify amdgpu_targets (#30582) * unify amdgpu_targets for rocsolver and rocblas * add more archs * adapt all roc packages to unified amdgpu_targets --- lib/spack/spack/build_systems/rocm.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/spack/spack/build_systems/rocm.py b/lib/spack/spack/build_systems/rocm.py index 9a31c579fb..3f8f31cfc8 100644 --- a/lib/spack/spack/build_systems/rocm.py +++ b/lib/spack/spack/build_systems/rocm.py @@ -90,9 +90,10 @@ class ROCmPackage(PackageBase): # https://llvm.org/docs/AMDGPUUsage.html # Possible architectures amdgpu_targets = ( - 'gfx701', 'gfx801', 'gfx802', 'gfx803', - 'gfx900', 'gfx906', 'gfx908', 'gfx90a', 'gfx1010', - 'gfx1011', 'gfx1012' + 'gfx701', 'gfx801', 'gfx802', 'gfx803', 'gfx900', 'gfx900:xnack-', + 'gfx906', 'gfx908', 'gfx90a', + 'gfx906:xnack-', 'gfx908:xnack-', 'gfx90a:xnack-', 'gfx90a:xnack+', + 'gfx1010', 'gfx1011', 'gfx1012', 'gfx1030', 'gfx1031', ) variant('rocm', default=False, description='Enable ROCm support') -- cgit v1.2.3-60-g2f50