trilinos: disable UVM for 13.2+ (#28879)
This commit is contained in:
parent
2c56cbd2bc
commit
3a4ab5f96f
@ -736,8 +736,10 @@ def define_tpl(trilinos_name, spack_name, have_dep):
|
||||
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')
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user