kokkos: add hip_relocatable_device_code variant. trilinos: kokkos should enable relocatable device code if requested for trilinos and it also requires the kokkos libraries be static. (#48143)
This commit is contained in:
parent
3da04ccb19
commit
a3bed44bf5
@ -185,6 +185,7 @@ class Kokkos(CMakePackage, CudaPackage, ROCmPackage):
|
||||
"cuda_lambda": [False, "Activate experimental lambda features"],
|
||||
"cuda_ldg_intrinsic": [False, "Use CUDA LDG intrinsics"],
|
||||
"cuda_relocatable_device_code": [False, "Enable RDC for CUDA"],
|
||||
"hip_relocatable_device_code": [False, "Enable RDC for HIP"],
|
||||
"cuda_uvm": [False, "Enable unified virtual memory (UVM) for CUDA"],
|
||||
"debug": [False, "Activate extra debug features - may increase compiletimes"],
|
||||
"debug_bounds_check": [False, "Use bounds checking - will increase runtime"],
|
||||
|
@ -410,6 +410,10 @@ class Trilinos(CMakePackage, CudaPackage, ROCmPackage):
|
||||
with when("@14.4: +kokkos"):
|
||||
depends_on("kokkos+wrapper", when="+wrapper")
|
||||
depends_on("kokkos~wrapper", when="~wrapper")
|
||||
depends_on("kokkos+cuda_relocatable_device_code~shared", when="+cuda_rdc")
|
||||
depends_on("kokkos+hip_relocatable_device_code~shared", when="+rocm_rdc")
|
||||
depends_on("kokkos-kernels~shared", when="+cuda_rdc")
|
||||
depends_on("kokkos-kernels~shared", when="+rocm_rdc")
|
||||
depends_on("kokkos~complex_align")
|
||||
depends_on("kokkos@4.5.00", when="@master:")
|
||||
depends_on("kokkos@4.3.01", when="@16")
|
||||
|
Loading…
Reference in New Issue
Block a user