Use SYCL pinned host memory from Kokkos.

Depends on this PR from Kokkos:
https://github.com/kokkos/kokkos/pull/4268/
This commit is contained in:
Joe Todd
2021-08-12 15:52:39 +01:00
committed by J Todd
parent 9a90803b23
commit 605d2b7ab2

View File

@ -236,7 +236,7 @@ typedef Kokkos::CudaHostPinnedSpace LMPPinnedHostType;
#elif defined(KOKKOS_ENABLE_HIP)
typedef Kokkos::Experimental::HIPHostPinnedSpace LMPPinnedHostType;
#elif defined(KOKKOS_ENABLE_SYCL)
typedef Kokkos::Experimental::SYCLSharedUSMSpace LMPPinnedHostType;
typedef Kokkos::Experimental::SYCLHostUSMSpace LMPPinnedHostType;
#elif defined(KOKKOS_ENABLE_OPENMPTARGET)
typedef Kokkos::Serial LMPPinnedHostType;
#endif