AI Engine API User Guide (AIE) 2021.2
stream.hpp File Reference
#include <adf.h>
#include "../aie.hpp"

Classes

struct  aie::detail::adf::cascade_stream_helper< AccumTag, N >
 
struct  aie::detail::adf::cascade_stream_helper< accfloat, N >
 
struct  aie::detail::adf::cascade_stream_helper< caccfloat, N >
 
struct  aie::detail::adf::stream_helper< N, T >
 

Namespaces

namespace  aie
 
namespace  aie::detail
 
namespace  aie::detail::adf
 

Macros

#define __AIE_API_AIE_ADF_STREAM_HPP__
 

Functions

template<unsigned N, typename T >
aie::vector< T, N > readincr_v (input_stream< T > *w)
  More...
 
template<unsigned N, aie::AccumElemBaseType T>
aie::accum< T, N > readincr_v (input_stream< T > *w)
  More...
 
template<unsigned N, typename T >
aie::vector< T, N > readincr_v (input_stream< T > *w, bool &tlast)
  More...
 
template<aie::AccumElemBaseType T, unsigned N>
void writeincr (output_stream< T > *w, const aie::accum< T, N > &value)
  More...
 
template<typename T , unsigned N>
void writeincr (output_stream< T > *w, const aie::vector< T, N > &value)
  More...
 
template<typename T , unsigned N>
void writeincr (output_stream< T > *w, const aie::vector< T, N > &value, bool tlast)
  More...
 
template<aie::AccumElemBaseType T, unsigned N>
void writeincr_v (output_stream< T > *w, const aie::accum< T, N > &value)
 
template<unsigned N, typename T >
void writeincr_v (output_stream< T > *w, const aie::vector< T, N > &value)
 
template<unsigned N, typename T >
void writeincr_v (output_stream< T > *w, const aie::vector< T, N > &value, bool tlast)
 

Function Documentation

◆ readincr_v()

template<unsigned N, aie::AccumElemBaseType T>
aie::accum<T, N> readincr_v ( input_stream< T > *  w)

Reads an accumulator from the input cascade stream.

Parameters
wInput stream