Kokkos: ROCm and CUDA are not compatible in Kokkos (#32181)

This commit is contained in:
kwryankrattiger
2022-08-23 01:24:56 -05:00
committed by GitHub
parent b203418720
commit 0d29bc00ec

View File

@@ -172,6 +172,7 @@ class Kokkos(CMakePackage, CudaPackage, ROCmPackage):
for dev in devices_variants:
dflt, desc = devices_variants[dev]
variant(dev, default=dflt, description=desc)
conflicts("+cuda", when="+rocm", msg="CUDA and ROCm are not compatible in Kokkos.")
options_values = list(options_variants.keys())
for opt in options_values: