diff options
author | kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> | 2022-08-23 01:24:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 08:24:56 +0200 |
commit | 0d29bc00ec4bf0b669506dc9ec1f0ad99a664944 (patch) | |
tree | 38986d2febc234adf16c6bd32de91fa6a315c1ec /var | |
parent | b20341872033c98c47a2dce8e9549c1c89b944f4 (diff) | |
download | spack-0d29bc00ec4bf0b669506dc9ec1f0ad99a664944.tar.gz spack-0d29bc00ec4bf0b669506dc9ec1f0ad99a664944.tar.bz2 spack-0d29bc00ec4bf0b669506dc9ec1f0ad99a664944.tar.xz spack-0d29bc00ec4bf0b669506dc9ec1f0ad99a664944.zip |
Kokkos: ROCm and CUDA are not compatible in Kokkos (#32181)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/kokkos/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/kokkos/package.py b/var/spack/repos/builtin/packages/kokkos/package.py index f2107bd7b5..ef08372d0d 100644 --- a/var/spack/repos/builtin/packages/kokkos/package.py +++ b/var/spack/repos/builtin/packages/kokkos/package.py @@ -172,6 +172,7 @@ class Kokkos(CMakePackage, CudaPackage, ROCmPackage): for dev in devices_variants: dflt, desc = devices_variants[dev] variant(dev, default=dflt, description=desc) + conflicts("+cuda", when="+rocm", msg="CUDA and ROCm are not compatible in Kokkos.") options_values = list(options_variants.keys()) for opt in options_values: |