Function gather_stride¶
function gather_stride(const T *, size_t) simd¶
template <size_t Nout, size_t groupsize = 1, typename T>
KFR_INTRINSIC vec<T, Nout * groupsize> gather_stride(const T* base, size_t stride) Gathers Nout groups of groupsize contiguous elements from base separated by stride.
| Nout | Number of groups to gather. |
| groupsize | Number of contiguous elements in each group. |
| T | Element type. |
| base | Pointer to the source array. |
| stride | Offset (in groups) between consecutive groups. |
A vector of Nout*groupsize elements assembled from the gathered groups. |
Fully qualified name: kfr::gather_stride(const T *, size_t)
Declared at simd/read_write.hpp:365
Function gather_stride¶
function gather_stride(const T *) simd¶
template <size_t Nout, size_t Stride, typename T>
KFR_INTRINSIC vec<T, Nout> gather_stride(const T* base) Gathers Nout elements from base at compile-time stride Stride.
| Nout | Number of elements to gather. |
| Stride | Fixed offset (in elements) between consecutive gathered elements. |
| T | Element type. |
| base | Pointer to the source array. |
A vector holding base[0], base[Stride], base[2*Stride], ... in order. |
Fully qualified name: kfr::gather_stride(const T *)
Declared at simd/read_write.hpp:379
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.