T-SIMD v31.1.0
A C++ template SIMD library
|
SIMD vector class, holds multiple elements of the same type. More...
SIMD vector class, holds multiple elements of the same type.
T | type of the vector elements |
SIMD_WIDTH | number of bytes in the SIMD vector |
Public Types | |
using | allocator |
Allocator to be used with std::vector. | |
Static Public Attributes | |
static constexpr size_t | bytes |
Number of bytes in the vector. | |
static constexpr size_t | elements |
Number of elements in the vector. | |
static constexpr size_t | elems |
Number of elements in the vector. Alias for elements. | |
using simd::Vec< T, SIMD_WIDTH >::allocator |
Allocator to be used with std::vector.
This allocator is to be used when creating a std::vector of Vec in the following way: