AI Engine API User Guide (AIE) 2023.2
|
Typedefs | |
template<typename T > | |
using | get_complex_component_type_t = typename get_complex_component_type< T >::type |
template<bool Signed, unsigned Bits> | |
using | get_integer_type_t = typename get_integer_type< Signed, Bits >::type |
template<typename T > | |
using | get_next_integer_type_t = typename get_next_integer_type< T >::type |
template<typename T > | |
using | get_prev_integer_type_t = typename get_prev_integer_type< T >::type |
template<size_t Elems, size_t Value> | |
using | make_index_broadcast = make_integer_broadcast< size_t, Elems, Value > |
template<typename T , size_t Elems, T Value> | |
using | make_integer_broadcast = typename make_integer_broadcast_impl< Elems, T, Value >::type |
template<std::size_t N> | |
using | make_reverse_index_sequence = decltype(generate_index_sequence_reverse(std::make_index_sequence< N >{})) |
template<typename T > | |
using | make_signed_t = typename make_signed< T >::type |
template<typename T > | |
using | make_unsigned_t = typename make_unsigned< T >::type |
template<typename T > | |
using | remove_all_t = typename remove_all< T >::type |
Functions | |
circular_index (unsigned max) -> circular_index<(unsigned) -1 > | |
template<typename T > | |
constexpr T * | floor_ptr (T *ptr) |
template<std::size_t ... Indices> | |
constexpr auto | generate_index_sequence_reverse (const std::index_sequence< Indices... > &) -> decltype(std::index_sequence< sizeof...(Indices) - 1U - Indices... >{}) |
template<unsigned N, typename T , typename... Args> | |
constexpr auto | get_nth (const T &t, Args &&... args) |
template<typename T > | |
constexpr bool | is_powerof2 (T v) |
template<typename T1 , typename T2 > | |
constexpr bool | is_same_object (const T1 &a, const T2 &b) |
template<typename T > | |
constexpr unsigned | log2 (T v) |
template<unsigned Start, unsigned End, typename... T> | |
constexpr auto | subtuple (const std::tuple< T... > &t) |
template<unsigned Start, typename... T, std::size_t... I> | |
constexpr auto | subtuple_ (const std::tuple< T... > &t, std::index_sequence< I... >) |
template<typename T , T Start, T End, T Step = 1, typename Fn > | |
void | unroll_for (Fn &&fn) |
template<unsigned Times, typename Fn > | |
void | unroll_times (Fn &&fn) |
Variables | |
template<typename T > | |
constexpr unsigned | num_elems_v = num_elems<T>::value |
struct aie::detail::utils::get_complex_component_type |
struct aie::detail::utils::get_integer_type |
struct aie::detail::utils::get_next_integer_type |
struct aie::detail::utils::get_prev_integer_type |
struct aie::detail::utils::make_integer_broadcast_impl |
Class Members | ||
---|---|---|
typedef typename type | type |
struct aie::detail::utils::make_integer_broadcast_impl< 0, T, Value, Generated... > |
struct aie::detail::utils::make_signed |
struct aie::detail::utils::make_unsigned |
struct aie::detail::utils::remove_all |
using aie::detail::utils::get_complex_component_type_t = typedef typename get_complex_component_type<T>::type |
using aie::detail::utils::get_integer_type_t = typedef typename get_integer_type<Signed, Bits>::type |
using aie::detail::utils::get_next_integer_type_t = typedef typename get_next_integer_type<T>::type |
using aie::detail::utils::get_prev_integer_type_t = typedef typename get_prev_integer_type<T>::type |
using aie::detail::utils::make_index_broadcast = typedef make_integer_broadcast<size_t, Elems, Value> |
using aie::detail::utils::make_integer_broadcast = typedef typename make_integer_broadcast_impl<Elems, T, Value>::type |
using aie::detail::utils::make_reverse_index_sequence = typedef decltype(generate_index_sequence_reverse(std::make_index_sequence<N>{})) |
using aie::detail::utils::make_signed_t = typedef typename make_signed<T>::type |
using aie::detail::utils::make_unsigned_t = typedef typename make_unsigned<T>::type |
using aie::detail::utils::remove_all_t = typedef typename remove_all<T>::type |
aie::detail::utils::circular_index | ( | unsigned | max | ) | -> circular_index<(unsigned) -1 > |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
void aie::detail::utils::unroll_for | ( | Fn && | fn | ) |
void aie::detail::utils::unroll_times | ( | Fn && | fn | ) |
|
constexpr |