AI Engine API User Guide (AIE) 2022.2
add.hpp File Reference
#include "vector.hpp"
#include "aie1/add.hpp"
#include "aie1/add_accum.hpp"
#include "aie1/add_reduce.hpp"

Namespaces

namespace  aie
 
namespace  aie::detail
 

Macros

#define __AIE_API_DETAIL_ADD__HPP__
 

Typedefs

template<typename T , unsigned Elems>
using aie::detail::add = add_sub_bits< type_bits_v< T >, T, Elems, AddSubOperation::Add >
 
template<unsigned AccumBits, AccumClass Class, unsigned Elems>
using aie::detail::add_accum = add_sub_accum_bits< AccumBits, Class, Elems, AddSubOperation::Add >
 
template<unsigned AccumBits, typename T , unsigned Elems>
using aie::detail::add_accum_vector = add_sub_accum_vector_bits< AccumBits, type_bits_v< T >, T, Elems, AddSubOperation::Add >
 
template<typename T , unsigned Elems>
using aie::detail::add_reduce = add_reduce_bits< type_bits_v< T >, T, Elems >
 
template<typename T , unsigned Elems>
using aie::detail::add_reduce_v = add_reduce_v_bits< type_bits_v< T >, T, Elems >
 
template<typename T , unsigned Elems>
using aie::detail::sub = add_sub_bits< type_bits_v< T >, T, Elems, AddSubOperation::Sub >
 
template<unsigned AccumBits, AccumClass Class, unsigned Elems>
using aie::detail::sub_accum = add_sub_accum_bits< AccumBits, Class, Elems, AddSubOperation::Sub >
 
template<unsigned AccumBits, typename T , unsigned Elems>
using aie::detail::sub_accum_vector = add_sub_accum_vector_bits< AccumBits, type_bits_v< T >, T, Elems, AddSubOperation::Sub >
 

Enumerations

enum class  aie::detail::AddSubOperation { aie::detail::Add , aie::detail::Sub }