cuda::experimental::stf::make_slice
Defined in include/cuda/experimental/__stf/internal/slice.cuh
-
template<typename T, typename ...Extents>
auto cuda::experimental::stf::make_slice(T *data, const Extents&... extents) Returns a contiguous mdspan for a dense multidimensional array.
- Template Parameters
T – Element type
- Parameters
data – Pointer to first element of the data
extents – Sizes
- Returns
auto