hiop: require RAJA when cuda is enabled (#42407)
This commit is contained in:
parent
bb200be57d
commit
6ff3e17a7d
@ -141,6 +141,9 @@ class Hiop(CMakePackage, CudaPackage, ROCmPackage):
|
|||||||
msg="umpire+cuda exports device code and requires static libs",
|
msg="umpire+cuda exports device code and requires static libs",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# We rely on RAJA / Umpire utilities when supporting CUDA backend
|
||||||
|
conflicts("~raja", when="+cuda", msg="RAJA is required for CUDA support")
|
||||||
|
|
||||||
depends_on("hip", when="+rocm")
|
depends_on("hip", when="+rocm")
|
||||||
depends_on("hipblas", when="+rocm")
|
depends_on("hipblas", when="+rocm")
|
||||||
depends_on("hipsparse", when="+rocm")
|
depends_on("hipsparse", when="+rocm")
|
||||||
|
Loading…
Reference in New Issue
Block a user