mdspan icon indicating copy to clipboard operation
mdspan copied to clipboard

Feature request: support aligned_accessor for C++20 code

Open vitor1001 opened this issue 7 months ago • 2 comments

I just noticed that Raft is using std::experimental::aligned_accessor in its Kokkos fork in its thirdparty/ subdir [link]. It builds fine on C++20.

It would be very nice to upstream it to kokkos/mdspan mainline.

vitor1001 avatar Jun 10 '25 13:06 vitor1001

Hi! Can you give some feedback if this feature request makes sense from your perspective? Any reason why aligned_accessor was not included in mainline Kokkos from the beginning? Are pull requests welcome?

vitor1001 avatar Jun 16 '25 06:06 vitor1001

It lives in the repository as an example: https://github.com/kokkos/mdspan/blob/stable/examples/aligned_accessor/aligned_accessor.cpp .

Pull requests are certainly welcome -- I would suggest starting with that example. Thank you! : - )

mhoemmen avatar Jun 16 '25 22:06 mhoemmen