Omega-H: Current constraint doesn't allow any cuda (#33164)

From the issue referenced, it seems later and earlier versions
of cuda work.
This commit is contained in:
kwryankrattiger 2022-10-11 14:03:39 -05:00 committed by GitHub
parent de8c827983
commit 5d0f0914b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,16 +54,16 @@ class OmegaH(CMakePackage, CudaPackage):
# Note: '+cuda' and 'cuda_arch' variants are added by the CudaPackage
depends_on("cuda", when="+cuda")
conflicts(
"cuda@11.2:",
"cuda@11.2",
when="@scorec.10.1.0:",
msg="Thrust is broken in CUDA >= 11.2.* see https://github.com/sandialabs/omega_h/issues/366",
msg="Thrust is broken in CUDA = 11.2.* see https://github.com/sandialabs/omega_h/issues/366",
)
# the sandia repo has a fix for cuda > 11.2 support
# see github.com/sandialabs/omega_h/pull/373
conflicts(
"cuda@11.2:",
"cuda@11.2",
when="@:9.34.4",
msg="Thrust is broken in CUDA >= 11.2.* see https://github.com/sandialabs/omega_h/issues/366",
msg="Thrust is broken in CUDA = 11.2.* see https://github.com/sandialabs/omega_h/issues/366",
)
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86610