cuda::experimental::stf::layout_stride

Defined in include/cuda/experimental/__stf/internal/slice.cuh

struct layout_stride : public layout_stride

A layout stride that can be used with mdspan.

In debug mode (i.e., NDEBUG is not defined) all uses of operator()() are bounds-checked by means of assert.

template<class Extents>
struct mapping : public cuda::std::layout_stride::mapping<Extents>

Public Functions

constexpr mapping() = default
template<typename ...A>
inline constexpr mapping(A&&... a)
template<typename ...is_t>
inline constexpr auto operator()(is_t&&... is) const