MDSPAN: A Deep Dive Spanning C++, Kokkos & SYCL
summary
MDSPAN is a non-owning multidimensional array reference born from Kokkos::View, developed over about seven years and roughly 17 revisions to hit the C++23 library; it supports mixed compile-time/run-time extents, customizable layout/stride and an accessor model, and required language fixes like deprecating comma inside [ ] and adding a multidimensional subscript a[I, j, k]. A reference implementation exists, vendors (including NVIDIA) adopt it, Kokkos is refactoring to use it, and an owning adapter MDARRAY owning variant targets C++26.
AI-written summary · about
