AI Engine API User Guide (AIE) 2023.2
|
The AIE API provides overloading for most of the available operators. More...
The AIE API provides overloading for most of the available operators.
In order to use them, you need to include a special header file and use the aie::operators namespace.
Functions | |
template<typename T1 , typename T2 > | |
constexpr auto | aie::operators::operator!= (const T1 &a, const T2 &b) |
Not equal to comparison operator. | |
template<typename T1 , typename T2 > | |
constexpr auto | aie::operators::operator& (const T1 &a, const T2 &b) |
Bitwise AND operation. | |
template<typename T1 , typename T2 > | |
constexpr auto | aie::operators::operator+ (const T1 &a, const T2 &b) |
Addition operator. | |
template<typename T1 , typename T2 > | |
constexpr T1 & | aie::operators::operator+= (T1 &lhs, const T2 &rhs) |
Addition assignment operator. | |
template<typename T > | |
constexpr auto | aie::operators::operator- (const T &a) |
Negation operator. | |
template<typename T1 , typename T2 > | |
constexpr auto | aie::operators::operator- (const T1 &a, const T2 &b) |
Subtraction operator. | |
template<typename T1 , typename T2 > | |
constexpr T1 & | aie::operators::operator-= (T1 &lhs, const T2 &rhs) |
Subtraction assignment operator. | |
template<typename T1 , typename T2 > | |
constexpr auto | aie::operators::operator< (const T1 &a, const T2 &b) |
Less than comparison operator. | |
template<typename T > | |
constexpr auto | aie::operators::operator<< (const T &a, unsigned shift) |
Bitwise left shift operator. | |
template<typename T1 , typename T2 > | |
constexpr auto | aie::operators::operator<= (const T1 &a, const T2 &b) |
Less than or equal comparison operator. | |
template<typename T1 , typename T2 > | |
constexpr auto | aie::operators::operator== (const T1 &a, const T2 &b) |
Equal to comparison operator. | |
template<typename T1 , typename T2 > | |
constexpr auto | aie::operators::operator> (const T1 &a, const T2 &b) |
Greater than comparison operator. | |
template<typename T1 , typename T2 > | |
constexpr auto | aie::operators::operator>= (const T1 &a, const T2 &b) |
Greater than or equal comparison operator. | |
template<typename T > | |
constexpr auto | aie::operators::operator>> (const T &a, unsigned shift) |
Bitwise right shift operator. | |
template<typename T1 , typename T2 > | |
constexpr auto | aie::operators::operator^ (const T1 &a, const T2 &b) |
Bitwise XOR operation. | |
template<typename T1 , typename T2 > | |
constexpr auto | aie::operators::operator| (const T1 &a, const T2 &b) |
Bitwise OR operation. | |
template<typename T > | |
constexpr auto | aie::operators::operator~ (const T &a) |
Bitwise NOT operation. | |
|
constexpr |
Not equal to comparison operator.
It is equivalent to aie::neq.
|
constexpr |
Bitwise AND operation.
It is equivalent to aie::bit_and.
|
constexpr |
Addition operator.
It is equivalent to aie::add.
|
constexpr |
Addition assignment operator.
|
constexpr |
Negation operator.
It is equivalent to aie::neg.
|
constexpr |
Subtraction operator.
It is equivalent to aie::sub.
|
constexpr |
Subtraction assignment operator.
|
constexpr |
Less than comparison operator.
It is equivalent to aie::lt.
|
constexpr |
Bitwise left shift operator.
It is equivalent to aie::upshift.
|
constexpr |
Less than or equal comparison operator.
It is equivalent to aie::le.
|
constexpr |
Equal to comparison operator.
It is equivalent to aie::eq.
|
constexpr |
Greater than comparison operator.
It is equivalent to aie::gt.
|
constexpr |
Greater than or equal comparison operator.
It is equivalent to aie::ge.
|
constexpr |
Bitwise right shift operator.
It is equivalent to aie::downshift.
|
constexpr |
Bitwise XOR operation.
It is equivalent to aie::bit_xor.
|
constexpr |
Bitwise OR operation.
It is equivalent to aie::bit_or.
|
constexpr |
Bitwise NOT operation.
It is equivalent to aie::bit_not.