simdpp::load

From cppreference.com
< mem
template<class V>
V load( void* ptr );
_DETAIL_ load( void* ptr );

Performs an aligned load from memory.

The first overload loads to given non-mask vector type.

The second overloads returns a value of unspecified type with which any non-mask vector can be initialized. E.g. uint32<4> x = load(pointer);

Parameters

ptr - pointer to location to load data from

Return value

(1) Vector that contains value loaded from address ptr.

(2) An value of unspecified type that can initialize a vector.

See also