Open nmm0 opened 4 months ago
Some more context: its semantically incorrect for Kokkos users to access a const element type view and expect to see updates from currently running threads on an aliasing non-const element type view. Thus atomic reads on const elements can't be necessary, unless Kokkos semantics are violated.
Isn't it a valid use to only want atomic loads?
https://github.com/kokkos/kokkos/blob/3c35733dd9f227606765ae485b1ad78c09bfd73b/core/src/View/MDSpan/Kokkos_MDSpan_Accessor.hpp#L186-L195