AI Engine API User Guide (AIE) 2022.2
|
Functions | |
template<typename T > | |
bool | aie::eq (T a, T b) |
More... | |
template<typename T > | |
bool | aie::ge (T a, T b) |
More... | |
template<typename T > | |
bool | aie::gt (T a, T b) |
More... | |
template<typename T > | |
bool | aie::le (T a, T b) |
More... | |
template<typename T > | |
bool | aie::lt (T a, T b) |
More... | |
template<typename T > | |
T | aie::max (T a, T b) |
More... | |
template<typename T > | |
T | aie::min (T a, T b) |
More... | |
template<typename T > | |
bool | aie::neq (T a, T b) |
More... | |
bool aie::eq | ( | T | a, |
T | b | ||
) |
Compares the two input values and returns whether they are equal.
a | First value. |
b | Second value. |
bool aie::ge | ( | T | a, |
T | b | ||
) |
Compares the two input values and returns whether the first value is larger or equal than the second value.
a | First value. |
b | Second value. |
bool aie::gt | ( | T | a, |
T | b | ||
) |
Compares the two input values and returns whether the first value is larger than the second value.
a | First value. |
b | Second value. |
bool aie::le | ( | T | a, |
T | b | ||
) |
Compares the two input values and returns whether the first value is smaller or equal than the second value.
a | First value. |
b | Second value. |
bool aie::lt | ( | T | a, |
T | b | ||
) |
Compares the two input values and returns whether the first value is smaller than the second value.
a | First value. |
b | Second value. |
T aie::max | ( | T | a, |
T | b | ||
) |
Compares the two input values and returns the maximum value.
a | First value. |
b | Second value. |
T aie::min | ( | T | a, |
T | b | ||
) |
Compares the two input values and returns the minimum value.
a | First value. |
b | Second value. |
bool aie::neq | ( | T | a, |
T | b | ||
) |
Compares the two input values and returns whether they are not equal.
a | First value. |
b | Second value. |