Skip to content

class generator<T, VecWidth, Class, Twork> generators

template <typename T, size_t VecWidth, typename Class, typename Twork = T>
struct generator : public expression_traits_defaults { … }

typedef value_type

using value_type             = T

Defined at base/generators.hpp:55

variable dims

constexpr static size_t dims = 1

Defined at base/generators.hpp:56

function get_shape(const Class &)

constexpr static shape<1> get_shape(const Class&) { … }

Defined at base/generators.hpp:57

function get_shape()

constexpr static shape<1> get_shape() { … }

Defined at base/generators.hpp:58

variable random_access

constexpr static inline bool random_access = false

Defined at base/generators.hpp:60

variable width

constexpr static size_t width = VecWidth

Defined at base/generators.hpp:62

function resync(T)

void resync(T start) const

Defined at base/generators.hpp:64

function generate()

template <size_t N>
KFR_MEM_INTRINSIC vec<T, N> generate() const

Defined at base/generators.hpp:67

variable value

mutable vec<Twork, width> value

Defined at base/generators.hpp:91

function get_elements(const generator<T, VecWidth, Class, Twork> &, const shape<1> &, const axis_params<0, N> &)

template <size_t N>
friend KFR_INTRINSIC vec<T, N> get_elements(const generator& self, const shape<1>& index,
                                            const axis_params<0, N>&)

Defined at base/generators.hpp:94

Defined at base/generators.hpp:53