mdspan
mdspan copied to clipboard
backport libc++ fixes
See: https://reviews.llvm.org/D148067#change-zoxBV8KQDQnh
- [ ] We need to use
maybe_empty_arraybecause of device code rather thanstd::array - [ ] Precondition checks with
__is_representable_as - [ ] Maybe also backport some tests since the LLVM ones are much more extensive