AI Engine API User Guide (AIE-API) 2024.1
|
Expression templates types.
#include "aie_types.hpp"
Namespaces | |
namespace | aie |
Base namespace for AIE operations and types. | |
Macros | |
#define | __AIE_API_EXPR__HPP__ |
#define | BINARY_OP(op) |
#define | BINARY_OP_IMPL(op) |
#define | UNARY_OP(op) |
#define | UNARY_OP_IMPL(op) |
Typedefs | |
template<typename T , Operation Op> | |
using | aie::op_result_type_t = typename op_result_helper< T, Op >::type |
template<typename T > | |
using | aie::op_value_type_t = typename op_value_type_helper< aie_dm_resource_remove_t< T > >::type |
Enumerations | |
enum class | aie::Operation { aie::None , aie::Acc_Add , aie::Acc_Sub , aie::Abs , aie::Conj , aie::Transpose , aie::Max , aie::Min , aie::Sign , aie::Zero } |
Variables | |
template<typename T > | |
static constexpr bool | aie::is_accum_op_v = is_accum_op<T>::value |
template<typename T > | |
static constexpr bool | aie::is_binary_op_v = is_binary_op<T>::value |
template<typename T > | |
static constexpr bool | aie::is_complex_op_v = is_complex_op<T>::value |
template<typename T > | |
static constexpr bool | aie::is_elem_op_v = is_elem_op<T>::value |
template<typename T > | |
static constexpr bool | aie::is_op_v = is_unary_op_v<T> || is_binary_op_v<T> |
template<typename T > | |
static constexpr bool | aie::is_real_op_v = is_real_op<T>::value |
template<typename T > | |
static constexpr bool | aie::is_sparse_vector_op_v = is_sparse_vector_op<T>::value |
template<typename T > | |
static constexpr bool | aie::is_unary_op_v = is_unary_op<T>::value |
template<typename T > | |
static constexpr bool | aie::is_vector_op_v = is_vector_op<T>::value |
struct aie::op_result_helper |
Class Members | ||
---|---|---|
typedef T | type |
struct aie::op_result_helper< binary_op< Parent1, Parent2, ParentOp >, Op > |
struct aie::op_result_helper< Parent, Operation::None > |
struct aie::op_result_helper< unaligned_vector_ref< T, Elems, Resource >, Op > |
Class Members | ||
---|---|---|
typedef vector< T, Elems > | type |
struct aie::op_result_helper< unary_op< Parent, ParentOp >, Op > |
struct aie::op_result_helper< vector_elem_const_ref< T, Elems >, Op > |
Class Members | ||
---|---|---|
typedef T | type |
struct aie::op_result_helper< vector_elem_ref< T, Elems >, Op > |
Class Members | ||
---|---|---|
typedef T | type |
struct aie::op_result_helper< vector_ref< T, Elems, Resource >, Op > |
Class Members | ||
---|---|---|
typedef vector< T, Elems > | type |
struct aie::op_value_type_helper |
struct aie::op_value_type_helper< binary_op< Parent1, Parent2, Op > > |
Class Members | ||
---|---|---|
typedef typename value_type | type |
struct aie::op_value_type_helper< sparse_vector< T, Elems > > |
struct aie::op_value_type_helper< unaligned_vector_ref< T, Elems, Resource > > |
struct aie::op_value_type_helper< unary_op< Parent, Op > > |
Class Members | ||
---|---|---|
typedef typename value_type | type |
struct aie::op_value_type_helper< vector< T, Elems > > |
struct aie::op_value_type_helper< vector_elem_const_ref< T, Elems > > |
struct aie::op_value_type_helper< vector_elem_ref< T, Elems > > |
struct aie::op_value_type_helper< vector_ref< T, Elems, Resource > > |
#define __AIE_API_EXPR__HPP__ |
#define BINARY_OP | ( | op | ) |
#define BINARY_OP_IMPL | ( | op | ) |
#define UNARY_OP | ( | op | ) |
#define UNARY_OP_IMPL | ( | op | ) |