|
Argon 0.1.0
|
A view that loads data from a contiguous range into SIMD vectors. More...
#include <load.hpp>


Classes | |
| struct | LoadIterator |
| The Iterator type for the range. More... | |
Public Types | |
| using | intrinsic_type = simd::Vec128_t<ScalarType> |
| The SIMD vector type. | |
| using | iterator = LoadIterator |
| The iterator type for the range. | |
| using | sentinel = const ScalarType* |
| The sentinel type for the range. | |
Public Member Functions | |
| iterator | begin () |
| Returns an iterator to the beginning of the range. | |
| const ScalarType * | end () |
| Returns an iterator to the end of the range. | |
| size_t | size () const |
| Returns the size of the range. | |
| template<std::ranges::contiguous_range R> | |
| load (R &&r) | |
| Construct a load from a range. | |
| load (const std::span< ScalarType > span) | |
| Construct a load from a span. | |
Static Public Attributes | |
| static constexpr size_t | lanes |
| The number of lanes in the SIMD vector. | |
A view that loads data from a contiguous range into SIMD vectors.
| ScalarType | The scalar type of the SIMD vector (e.g., int8_t, float32_t). |
|
inline |
Construct a load from a range.
| R | The range type. |
| r | The range to load data from. |
|
inline |
Construct a load from a span.
| span | The span to load data from. |
|
inline |
Returns an iterator to the beginning of the range.
|
inline |
Returns an iterator to the end of the range.
|
inline |
Returns the size of the range.
|
staticconstexpr |
The number of lanes in the SIMD vector.