gromacs: obtain SYCL from either ACpp or intel-oneapi-runtime (#47806)
This commit is contained in:
parent
38a2f9c2f2
commit
0835a3c5f2
@ -120,7 +120,16 @@ class Gromacs(CMakePackage, CudaPackage):
|
||||
depends_on("heffte +cuda", when="+heffte +cuda")
|
||||
depends_on("heffte +sycl", when="+heffte +sycl")
|
||||
variant("opencl", default=False, description="Enable OpenCL support")
|
||||
variant("sycl", default=False, when="@2021: %clang", description="Enable SYCL support")
|
||||
variant("sycl", default=False, when="@2021:", description="Enable SYCL support")
|
||||
requires(
|
||||
"^intel-oneapi-runtime",
|
||||
"^hipsycl %clang",
|
||||
policy="one_of",
|
||||
when="+sycl",
|
||||
msg="GROMACS SYCL support comes either from intel-oneapi-runtime or a "
|
||||
+ "package that provides the virtual package `sycl`, such as AdaptiveCpp "
|
||||
+ "plus a clang compiler.",
|
||||
)
|
||||
variant(
|
||||
"intel-data-center-gpu-max",
|
||||
default=False,
|
||||
|
Loading…
Reference in New Issue
Block a user