summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlberto Invernizzi <9337627+albestro@users.noreply.github.com>2022-07-05 14:33:30 +0200
committerGitHub <noreply@github.com>2022-07-05 14:33:30 +0200
commitbb3a663392edebb1f9918393a875dc3b5db2c995 (patch)
treeefedc88888cde84ecf087688fde3778faef4f2d8 /lib
parentd05ab36ff903a4f1afc487b39415bf8ddadd5a6c (diff)
downloadspack-bb3a663392edebb1f9918393a875dc3b5db2c995.tar.gz
spack-bb3a663392edebb1f9918393a875dc3b5db2c995.tar.bz2
spack-bb3a663392edebb1f9918393a875dc3b5db2c995.tar.xz
spack-bb3a663392edebb1f9918393a875dc3b5db2c995.zip
ROCmPackage: unify amdgpu_targets (#30582)
* unify amdgpu_targets for rocsolver and rocblas * add more archs * adapt all roc packages to unified amdgpu_targets
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/rocm.py7
1 files changed, 4 insertions, 3 deletions
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')