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

#include <stream.hpp>

Public Types

using type = aie::vector< T, N >
 

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 >
using aie::detail::adf::stream_helper_common< N, T >::type = aie::vector<T, N>

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
staticconstexpr

◆ num_ops

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

◆ stream_width

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

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