AI Engine API User Guide (AIE-API) 2024.1
|
Type for references to vector registers. More...
Type for references to vector registers.
T | Type of the elements contained in the vector. It must meet aie::ElemBaseType. |
Elems | Number of elements in the vector. |
#include <vector_elem_ref.hpp>
Public Types | |
using | elem_type = aie_dm_resource_remove_t< T > |
using | value_type = typename vector_type::value_type |
using | vector_type = vector< std::remove_const_t< elem_type >, Elems > |
Public Member Functions | |
constexpr | unaligned_vector_ref (T *ptr, unsigned alignment=1) |
constexpr | operator vector_type () const |
constexpr unaligned_vector_ref & | operator= (const vector_type &v) |
Static Public Member Functions | |
static constexpr unsigned | size () |
using aie::unaligned_vector_ref< T, Elems, Resource >::elem_type = aie_dm_resource_remove_t<T> |
using aie::unaligned_vector_ref< T, Elems, Resource >::value_type = typename vector_type::value_type |
using aie::unaligned_vector_ref< T, Elems, Resource >::vector_type = vector<std::remove_const_t<elem_type>, Elems> |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexpr |