Port `aligned_accessor` from the Raft fork of Kokkos to mainline.
See https://github.com/rapidsai/raft/blob/branch-25.08/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/aligned_accessor.hpp.
This implementation was adapted from kokkos/mdspan/blob/stable/examples/aligned_accessor/aligned_accessor.cpp.
Fixes https://github.com/kokkos/mdspan/issues/412.
Thank you for submitting this. This is still also missing some tests and
is_sufficiently_alignedThis was on my TODO list -- if you would like, I can take this over or I can continue to review this.
From my side I prefer you take this over. You know obviously much better this codebase than I do.
Thank you for submitting this. This is still also missing some tests and
is_sufficiently_alignedThis was on my TODO list -- if you would like, I can take this over or I can continue to review this.From my side I prefer you take this over. You know obviously much better this codebase than I do.
Ok I will do, I really appreciate your contribution.