Skip to content

Function read

function read(const T *) simd

template <size_t N, bool A = false, typename T>
KFR_INTRINSIC vec<T, N> read(const T* src)

Reads a vector of N elements of type T from memory.

Template parameters
N Number of elements to read.
A When true, N must be a power of two and src must be aligned to N * sizeof(T) bytes. On x86, vectors no wider than 4096 bytes use this guarantee to perform a full-width load for a non-empty tail.
T Element type.
Parameters
src Pointer to the first element to read.
Returns
A vec holding the loaded elements.

Fully qualified name: kfr::read(const T *)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.