diff --git a/src/raja/fasten.hpp b/src/raja/fasten.hpp index 39e5c33..3ebbb99 100644 --- a/src/raja/fasten.hpp +++ b/src/raja/fasten.hpp @@ -255,10 +255,13 @@ template class IMPL_CLS final : public Bude { static void synchronise() { // nothing to do for host devices #if defined(RAJA_ENABLE_CUDA) - cudaDeviceSynchronize(); + RAJA::synchronize(); #endif #if defined(RAJA_ENABLE_HIP) - hipDeviceSynchronize(); + RAJA::synchronize(); +#endif +#if defined(RAJA_ENABLE_SYCL) + RAJA::synchronize(); #endif }