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;srcis not required to be aligned.
-
batch(const T *src, unaligned_mode)¶ Initializes a batch to the values pointed by
src;srcmust be aligned.
-
batch(const simd_data &rhs)¶ Initializes a batch with the specified SIMD value.
-
operator simd_data() const¶ Converts
thisto a SIMD value.
-
batch &
load_aligned(const T *src)¶ Loads the N contiguous values pointed by
srcinto the batch.srcmust be aligned.
-
batch &
load_unaligned(const T *src)¶ Loads the N contiguous values pointed by
srcinto the batch.srcis 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.dstmust be aligned.
-