mdspan
mdspan copied to clipboard
Reference implementation of mdspan targeting C++23
Implement the suggestion here: https://github.com/ORNL/cpp-proposals-pub/issues/288
A user recently asked what parts of mdspan impose preconditions relating to integer overflow. One can deduce this from the proposals, but it would make sense to restate the preconditions...
@johan-overbye [reports that](https://github.com/kokkos/mdspan/issues/166#issuecomment-1201197622): > `mdarray`s with all static extents seem to require an extra 4 bytes on top of the container. (Latest MSVC for x86-64 with `/std:c++latest`.) The reference implementation...
Hi all, there are a number of breaking changes upcoming which stem from the intense review mdspan got now that its is nearing inclusion into the C++23 standard. These are...
It would be really nice to have a conversion from mdspan to an mdarray with suitable extents and layouts. For one dimensional arrays and spans, layout_left vs layout_right should not...
It seems like it's very very important for the array specification that `mdarray` should inherit from `mdarray::view_type`. or perhaps there should be a series of implicit conversation operators defined to...
Is that on the agenda ?
I spent some time playing with `mdspan` as abstraction to access multidimensional CPU/GPU buffers in [alpaka](https://github.com/alpaka-group/alpaka). You can think of these buffers as similar to `Kokkos::View`s. Now, higher-than-one dimensional buffers...
Just saving a godbolt link here: https://godbolt.org/z/o4aGaEcdc
The call operator for both mdspan and layout policy mappings have template parameter `Index` for accepting index with types different than `size_t`. Is it possible to remove the conversion that...