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

#include <tiled_mdspan.hpp>

Public Types

using index_type = ptrdiff_t
 

Static Public Member Functions

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

Member Typedef Documentation

◆ index_type

template<typename SpanExtents >
using aie::detail::tiled_span_indexer< SpanExtents >::index_type = ptrdiff_t

Member Function Documentation

◆ offset()

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

◆ offset_helper()

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

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