diff options
author | Seth R. Johnson <johnsonsr@ornl.gov> | 2022-02-14 04:54:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 10:54:15 +0100 |
commit | 3a4ab5f96f7c34007b3bcc261cc4218704dd8b55 (patch) | |
tree | c435d86b5785e3e482e042437f24cac5b02a6a85 /var | |
parent | 2c56cbd2bc566547618483efa5fcfa847ace3f6e (diff) | |
download | spack-3a4ab5f96f7c34007b3bcc261cc4218704dd8b55.tar.gz spack-3a4ab5f96f7c34007b3bcc261cc4218704dd8b55.tar.bz2 spack-3a4ab5f96f7c34007b3bcc261cc4218704dd8b55.tar.xz spack-3a4ab5f96f7c34007b3bcc261cc4218704dd8b55.zip |
trilinos: disable UVM for 13.2+ (#28879)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/trilinos/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py index 0edff65624..797dce8a92 100644 --- a/var/spack/repos/builtin/packages/trilinos/package.py +++ b/var/spack/repos/builtin/packages/trilinos/package.py @@ -736,8 +736,10 @@ class Trilinos(CMakePackage, CudaPackage, ROCmPackage): else 'OpenMP'), ]) if '+cuda' in spec: + # See https://github.com/spack/spack/issues/28869 + use_uvm = (spec.version < Version(13.2)) options.extend([ - define_kok_enable('CUDA_UVM', True), + define_kok_enable('CUDA_UVM', use_uvm), define_kok_enable('CUDA_LAMBDA', True), define_kok_enable('CUDA_RELOCATABLE_DEVICE_CODE', 'cuda_rdc') ]) |