Argon 0.1.0
Loading...
Searching...
No Matches
argon::vectorize::store< ScalarType > Struct Template Reference
Inheritance diagram for argon::vectorize::store< ScalarType >:
Collaboration diagram for argon::vectorize::store< ScalarType >:

Classes

struct  StoreIterator

Public Types

using intrinsic_type = simd::Vec128_t<ScalarType>
using iterator = StoreIterator

Public Member Functions

iterator begin ()
ScalarType * end ()
size_t size () const
template<std::ranges::contiguous_range R>
 store (R &&r)
store_tail< ScalarType > with_tail () const
 A view of the same range that also writes the final, partial vector.

Static Public Member Functions

static constexpr size_t vectorizeable_size (size_t size)

Static Public Attributes

static constexpr size_t lanes = sizeof(intrinsic_type) / sizeof(ScalarType)

Member Function Documentation

◆ with_tail()

template<typename ScalarType>
store_tail< ScalarType > argon::vectorize::store< ScalarType >::with_tail ( ) const
inline

A view of the same range that also writes the final, partial vector.

This view skips elements after the last whole vector; with_tail() writes them too. Each element is a Partial to assign; only its lanes inside the range are stored.


The documentation for this struct was generated from the following file: