biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SYCL: Fully switch to atomic_ref
[alexxy/gromacs.git]
/
src
/
gromacs
/
gpu_utils
/
gmxsycl.h
diff --git
a/src/gromacs/gpu_utils/gmxsycl.h
b/src/gromacs/gpu_utils/gmxsycl.h
index 353ca45116aaf4fec6e68980b7e9d765853f0593..2b07b927a7649288778546911ef69f5fb26ca5f3 100644
(file)
--- a/
src/gromacs/gpu_utils/gmxsycl.h
+++ b/
src/gromacs/gpu_utils/gmxsycl.h
@@
-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