Argon 0.1.0
Loading...
Searching...
No Matches
argon::vectorize::load_store_tail< ScalarType, Stride > Class Template Reference

In-place read/write view of a range as vectors, including a final partial vector. More...

#include <tail.hpp>

Inheritance diagram for argon::vectorize::load_store_tail< ScalarType, Stride >:
Collaboration diagram for argon::vectorize::load_store_tail< ScalarType, Stride >:

Classes

struct  Iterator
 Iterator over the vectors of the range; dereferences to a Partial to read and modify. More...

Public Member Functions

 load_store_tail (ScalarType *start, size_t count)
 View count lanes (frames, for interleaved views) starting at start.
Iterator begin () const
std::default_sentinel_t end () const
size_t size () const
 The number of vectors, counting a final partial one.

Detailed Description

template<typename ScalarType, size_t Stride = 1>
class argon::vectorize::load_store_tail< ScalarType, Stride >

In-place read/write view of a range as vectors, including a final partial vector.

See load_store::with_tail() and interleaved::with_tail().

A vector is loaded on first access and, if it was accessed mutably, stored when the iterator advances; only the lanes inside the range are read or written.


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