|
template<typename DA > |
constexpr bool | has_vector_inst () |
| Determines if vector datatype supports vector instruction on a current architecture.
|
|
template<typename DA > |
constexpr bool | has_predicate_inst () |
| Determines if datatype has predicated loop for current architecture.
|
|
template<typename DA > |
constexpr bool | is_scalar () |
| Determines if scalar datatype (not vector, vectorview, matrix, matrixview)
|
|
template<typename DA > |
constexpr bool | must_use_matrix_idx () |
| Check if datatype can only be used as a matrix (no vector addressing)
|
|
template<typename DA , typename DB > |
constexpr bool | vector_idx_pair () |
| Check if both datatype have vector indexing are same scalar datatype.
|
|
template<typename DA > |
constexpr bool | is_only_vector () |
| Check if has vector indexing.
|
|
template<typename DA , typename DB > |
constexpr bool | must_use_matrix_idx_pair () |
| Check if datatypes have same scalar datatype and no vector indexing.
|
|
template<typename DA , typename DB > |
constexpr vector_length_t | static_length () |
| Static length.
|
|
template<typename DA , typename DB > |
constexpr bool | same_static_length () |
| Check compatibility of length.
|
|
template<typename VA , typename VB , typename std::enable_if< vector_idx_pair< VA, VB >() &&is_only_vector< VA >() &&is_only_vector< VB >() &&(!IsDynamic< VA >::value||!IsDynamic< VB >::value), bool >::type = true> |
DotResult< VA > | dot (const VA &a, const VB &b) |
| Dot product.
|
|
template<typename VA , typename VB , typename std::enable_if< vector_idx_pair< VA, VB >() &&(!IsDynamic< VA >::value||!IsDynamic< VB >::value), bool >::type = true> |
void | swap (VA &&a, VB &&b) |
| Swap vectors.
|
|