AI Engine API User Guide (AIE) 2023.2
Loading...
Searching...
No Matches
aie::detail::span_indexer< Extents > Struct Template Reference

#include <mdspan.hpp>

Public Types

using index_type = ptrdiff_t
 

Static Public Member Functions

template<typename... Indices>
static constexpr index_type offset (const Extents &extents, Indices &&... indices)
 
template<unsigned DimIndex, typename... Indices>
static constexpr index_type offset_helper (const Extents &extents, index_type idx, Indices &&... indices)
 

Member Typedef Documentation

◆ index_type

template<typename Extents >
using aie::detail::span_indexer< Extents >::index_type = ptrdiff_t

Member Function Documentation

◆ offset()

template<typename Extents >
template<typename... Indices>
static constexpr index_type aie::detail::span_indexer< Extents >::offset ( const Extents &  extents,
Indices &&...  indices 
)
inlinestaticconstexpr

◆ offset_helper()

template<typename Extents >
template<unsigned DimIndex, typename... Indices>
static constexpr index_type aie::detail::span_indexer< Extents >::offset_helper ( const Extents &  extents,
index_type  idx,
Indices &&...  indices 
)
inlinestaticconstexpr

The documentation for this struct was generated from the following file: