|
| template<class T , class U , std::size_t D> |
| | mdspan (T *, std::array< U, D >) -> mdspan< T, D > |
| | Deduction guide.
|
| |
| constexpr decltype(auto) | operator[] (size_type i) const noexcept |
| | Select a subset of the view.
|
| |
| constexpr size_type | length (Dimension i) const noexcept |
| | Get one size of the view.
|
| |
| template<typename U = size_type, typename = std::enable_if_t<std::is_convertible_v<U, size_type>>> |
| constexpr | mdbase (T *p, std::array< U, D > sz) noexcept |
| | Construct a view of a one-dimensional array.
|
| |
template<class T, unsigned short D>
struct flecsi::util::mdspan< T, D >
A small, approximate subset of mdspan from C++23.
This class is supported for GPU execution.
- Template Parameters
-