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

#include <stream.hpp>

Public Types

using type = typename stream_out_helper::type
 

Static Public Member Functions

static void writeincr (output_stream< T > *w, type value)
 
static void writeincr (output_stream< T > *w, type value, 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_out Resource>
using aie::detail::adf::stream_out_helper< N, T, Resource >::type = typename stream_out_helper::type

Member Function Documentation

◆ writeincr() [1/2]

template<unsigned N, typename T , aie_stream_resource_out Resource>
static void aie::detail::adf::stream_out_helper< N, T, Resource >::writeincr ( output_stream< T > *  w,
type  value 
)
inlinestatic

◆ writeincr() [2/2]

template<unsigned N, typename T , aie_stream_resource_out Resource>
static void aie::detail::adf::stream_out_helper< N, T, Resource >::writeincr ( output_stream< T > *  w,
type  value,
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: