Argon 0.1.0
Loading...
Searching...
No Matches
argon::vectorize::store_interleaved< scalar_type, stride > Struct Template Reference
Inheritance diagram for argon::vectorize::store_interleaved< scalar_type, stride >:
Collaboration diagram for argon::vectorize::store_interleaved< scalar_type, stride >:

Classes

struct  StoreInterleavedIterator

Public Types

using intrinsic_type = simd::Vec128_t<scalar_type>
using iterator = StoreInterleavedIterator

Public Member Functions

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

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(scalar_type)

Member Function Documentation

◆ with_tail()

template<typename scalar_type, size_t stride = 2>
store_tail< scalar_type, stride > argon::vectorize::store_interleaved< scalar_type, stride >::with_tail ( ) const
inline

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

This view skips frames after the last whole group; with_tail() writes them too. Each element is a Partial whose value is one vector per channel; only lanes inside the range are stored. Elements that don't complete a frame of stride are not written.


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