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

#include <mdspan.hpp>

Public Types

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

Public Member Functions

constexpr size_t extent (size_t index) const
 

Static Public Member Functions

static constexpr std::array< index_type, parent::rank() - 1 > compute_offsets ()
 
static constexpr size_t elems_static ()
 
static constexpr bool is_static ()
 
static constexpr size_t rank ()
 
static constexpr size_t rank_dynamic ()
 
static constexpr size_t rank_static ()
 

Static Public Attributes

static constexpr std::array< index_type, parent::rank() - 1 > offsets_ = compute_offsets()
 

Member Typedef Documentation

◆ index_type

template<size_t... Extents>
using aie::detail::span_extents< true, extents< Extents... > >::index_type = typename parent::index_type

◆ parent

template<size_t... Extents>
using aie::detail::span_extents< true, extents< Extents... > >::parent = span_extents_common<extents<Extents...> >

Member Function Documentation

◆ compute_offsets()

template<size_t... Extents>
static constexpr std::array< index_type, parent::rank() - 1 > aie::detail::span_extents< true, extents< Extents... > >::compute_offsets ( )
inlinestaticconstexpr

◆ elems_static()

template<size_t... Extents>
static constexpr size_t aie::detail::span_extents_common< extents< Extents... > >::elems_static ( )
inlinestaticconstexprinherited

◆ extent()

template<size_t... Extents>
constexpr size_t aie::detail::span_extents< true, extents< Extents... > >::extent ( size_t  index) const
inlineconstexpr

◆ is_static()

template<size_t... Extents>
static constexpr bool aie::detail::span_extents_common< extents< Extents... > >::is_static ( )
inlinestaticconstexprinherited

◆ rank()

template<size_t... Extents>
static constexpr size_t aie::detail::span_extents_common< extents< Extents... > >::rank ( )
inlinestaticconstexprinherited

◆ rank_dynamic()

template<size_t... Extents>
static constexpr size_t aie::detail::span_extents_common< extents< Extents... > >::rank_dynamic ( )
inlinestaticconstexprinherited

◆ rank_static()

template<size_t... Extents>
static constexpr size_t aie::detail::span_extents_common< extents< Extents... > >::rank_static ( )
inlinestaticconstexprinherited

Member Data Documentation

◆ offsets_

template<size_t... Extents>
constexpr std::array<index_type, parent::rank() - 1> aie::detail::span_extents< true, extents< Extents... > >::offsets_ = compute_offsets()
staticconstexpr

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