AI Engine API User Guide (AIE) 2023.2
Loading...
Searching...
No Matches
aie::detail::adf::stream_in_helper< N, T, Resource > Struct Template Reference

#include <stream.hpp>

Public Types

using type = typename stream_in_helper::type
 

Static Public Member Functions

static constexpr auto get_op ()
 
static type readincr (input_stream< T > *w)
 
static type readincr (input_stream< T > *w, bool &tlast)
 

Static Public Attributes

static constexpr unsigned elems_per_op = N / num_ops
 
static constexpr unsigned num_ops = type::bits() / stream_width
 
static constexpr unsigned stream_width = std::min(512u, type::bits())
 

Member Typedef Documentation

◆ type

template<unsigned N, typename T , aie_stream_resource_in Resource>
using aie::detail::adf::stream_in_helper< N, T, Resource >::type = typename stream_in_helper::type

Member Function Documentation

◆ get_op()

template<unsigned N, typename T , aie_stream_resource_in Resource>
static constexpr auto aie::detail::adf::stream_in_helper< N, T, Resource >::get_op ( )
inlinestaticconstexpr

◆ readincr() [1/2]

template<unsigned N, typename T , aie_stream_resource_in Resource>
static type aie::detail::adf::stream_in_helper< N, T, Resource >::readincr ( input_stream< T > *  w)
inlinestatic

◆ readincr() [2/2]

template<unsigned N, typename T , aie_stream_resource_in Resource>
static type aie::detail::adf::stream_in_helper< N, T, Resource >::readincr ( input_stream< T > *  w,
bool &  tlast 
)
inlinestatic

Member Data Documentation

◆ elems_per_op

template<unsigned N, typename T >
constexpr unsigned aie::detail::adf::stream_helper_common< N, T >::elems_per_op = N / num_ops
staticconstexprinherited

◆ num_ops

template<unsigned N, typename T >
constexpr unsigned aie::detail::adf::stream_helper_common< N, T >::num_ops = type::bits() / stream_width
staticconstexprinherited

◆ stream_width

template<unsigned N, typename T >
constexpr unsigned aie::detail::adf::stream_helper_common< N, T >::stream_width = std::min(512u, type::bits())
staticconstexprinherited

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