diff --git a/core/src/SYCL/Kokkos_SYCL_Space.cpp b/core/src/SYCL/Kokkos_SYCL_Space.cpp index 50ee3a3e11..62af720b7c 100644 --- a/core/src/SYCL/Kokkos_SYCL_Space.cpp +++ b/core/src/SYCL/Kokkos_SYCL_Space.cpp @@ -39,12 +39,8 @@ void DeepCopySYCL(void* dst, const void* src, size_t n) { void DeepCopyAsyncSYCL(const Kokkos::Experimental::SYCL& instance, void* dst, const void* src, size_t n) { - // FIXME_SYCL memcpy doesn't respect submit_barrier which means that we need - // to actually fence the execution space to make sure the memcpy is properly - // enqueued when using out-of-order queues. sycl::queue& q = *instance.impl_internal_space_instance()->m_queue; - q.wait_and_throw(); - auto event = q.memcpy(dst, src, n); + auto event = q.memcpy(dst, src, n); q.ext_oneapi_submit_barrier(std::vector{event}); }