batch¶
-
template<class
T
, std::size_tN
>
classxsimd
::
batch
: public xsimd::simd_batch<batch<T, N>>, public xsimd::simd_batch<batch<T, N>>¶ Public Functions
-
batch
()¶ Builds an uninitialized batch.
-
batch (T f0,..., T f3)
Initializes a batch with the specified scalar values.
-
batch
(const T *src, aligned_mode)¶ Initializes a batch to the N contiguous values pointed by
src
;src
is not required to be aligned.
-
batch
(const T *src, unaligned_mode)¶ Initializes a batch to the values pointed by
src
;src
does not need to be aligned.
-
batch
(const simd_data &rhs)¶ Initializes a batch with the specified SIMD value.
-
operator simd_data
() const¶ Converts
this
to a SIMD value.
-
batch &
load_aligned
(const T *src)¶ Loads the N contiguous values pointed by
src
into the batch.src
must be aligned.
-
batch &
load_unaligned
(const T *src)¶ Loads the N contiguous values pointed by
src
into the batch.src
is not required to be aligned.
-
void
store_aligned
(T *dst) const¶ Stores the N values of the batch into a contiguous array pointed by
dst
.dst
must be aligned.
-