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

#include <mdspan.hpp>

Public Types

using index_type = typename parent::index_type
 
using parent = span_extents_common< Extents >
 

Public Member Functions

template<typename... DynamicExtents>
constexpr span_extents (DynamicExtents... ext)
 
constexpr size_t extent (size_t index) const
 

Public Attributes

dyn_extents< parent::rank()> ext_
 
std::array< index_type, parent::rank()> offsets_
 

Member Typedef Documentation

◆ index_type

template<bool IsStatic, typename Extents >
using aie::detail::span_extents< IsStatic, Extents >::index_type = typename parent::index_type

◆ parent

template<bool IsStatic, typename Extents >
using aie::detail::span_extents< IsStatic, Extents >::parent = span_extents_common<Extents>

Constructor & Destructor Documentation

◆ span_extents()

template<bool IsStatic, typename Extents >
template<typename... DynamicExtents>
constexpr aie::detail::span_extents< IsStatic, Extents >::span_extents ( DynamicExtents...  ext)
inlineconstexpr

Member Function Documentation

◆ extent()

template<bool IsStatic, typename Extents >
constexpr size_t aie::detail::span_extents< IsStatic, Extents >::extent ( size_t  index) const
inlineconstexpr

Member Data Documentation

◆ ext_

template<bool IsStatic, typename Extents >
dyn_extents<parent::rank()> aie::detail::span_extents< IsStatic, Extents >::ext_

◆ offsets_

template<bool IsStatic, typename Extents >
std::array<index_type, parent::rank()> aie::detail::span_extents< IsStatic, Extents >::offsets_

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