SYCL: Fully switch to atomic_ref
[alexxy/gromacs.git] / src / gromacs / gpu_utils / gmxsycl.h
index 353ca45116aaf4fec6e68980b7e9d765853f0593..2b07b927a7649288778546911ef69f5fb26ca5f3 100644 (file)
@@ -132,7 +132,7 @@ auto group_reduce(Args&&... args) -> decltype(detail::origin::reduce(std::forwar
     return detail::origin::reduce(std::forward<Args>(args)...);
 }
 #elif GMX_SYCL_HIPSYCL
-// No atomic_ref in hipSYCL yet (2021-02-22)
+using detail::origin::atomic_ref;
 using detail::origin::group_any_of;
 using detail::origin::group_reduce;
 #else