UoB-HPC / stdpar-nbody

https://research-information.bris.ac.uk/en/publications/efficient-tree-based-parallel-algorithms-for-n-body-simulations-u
MIT License
2 stars 0 forks source link

Update atomic_ref to use CTAD when clang 19 releases #6

Open gonzalobg opened 5 months ago

gonzalobg commented 5 months ago

clang 18 doesn't support CTAD well for atomic_ref, see: https://github.com/UoB-HPC/Barnes-Hut/pull/5#discussion_r1648117889 . So we spell the type out as a workaround, i.e., atomic_ref<T>{ref} instead of just atomic_ref{ref}.

Once clang-19 releases in August, we can clean this up.