Skip to content

class expression_vtable<T, Dims> base

template <typename T, index_t Dims>
struct expression_vtable { … }

variable Nsizes

constexpr static const size_t Nsizes = 1 + ilog2(maximum_expression_width<T>)

Defined at base/handle.hpp:66

variable Nmax

constexpr static const size_t Nmax   = 1 << Nsizes

Defined at base/handle.hpp:67

typedef func_get

using func_get        = void (*)(void*, shape<Dims>, T*)

Defined at base/handle.hpp:69

typedef func_set

using func_set        = void (*)(void*, shape<Dims>, const T*)

Defined at base/handle.hpp:70

typedef func_shapeof

using func_shapeof    = void (*)(void*, shape<Dims>&)

Defined at base/handle.hpp:71

typedef func_substitute

using func_substitute = bool (*)(void*, expression_handle<T, Dims>)

Defined at base/handle.hpp:72

typedef func_pass

using func_pass       = void (*)(void*, shape<Dims>, shape<Dims>)

Defined at base/handle.hpp:73

variable fn_shapeof

func_shapeof fn_shapeof

Defined at base/handle.hpp:75

variable fn_substitute

func_substitute fn_substitute

Defined at base/handle.hpp:76

variable fn_begin_pass

func_pass fn_begin_pass

Defined at base/handle.hpp:77

variable fn_end_pass

func_pass fn_end_pass

Defined at base/handle.hpp:78

variable fn_get_elements

std::array<std::array<func_get, Nsizes>, Dims> fn_get_elements

Defined at base/handle.hpp:79

variable fn_set_elements

std::array<std::array<func_set, Nsizes>, Dims> fn_set_elements

Defined at base/handle.hpp:80

function expression_vtable<T, Dims>(ctype_t<Expression>)

template <typename Expression>
KFR_MEM_INTRINSIC expression_vtable(ctype_t<Expression> t)

Defined at base/handle.hpp:83

function static_get_elements(void *, shape<Dims>, T *)

template <typename Expression, size_t N, index_t VecAxis>
static void static_get_elements(void* instance, shape<Dims> index, T* dest)

Defined at base/handle.hpp:106

function static_set_elements(void *, shape<Dims>, const T *)

template <typename Expression, size_t N, index_t VecAxis>
static void static_set_elements(void* instance, shape<Dims> index, const T* src)

Defined at base/handle.hpp:114

function static_shapeof(void *, shape<Dims> &)

template <typename Expression>
static void static_shapeof(void* instance, shape<Dims>& result)

Defined at base/handle.hpp:122

function static_substitute(void *, expression_handle<T, Dims>)

template <typename Expression>
static bool static_substitute(void* instance, expression_handle<T, Dims> ptr)

Defined at base/handle.hpp:127

function static_begin_pass(void *, shape<Dims>, shape<Dims>)

template <typename Expression>
static void static_begin_pass(void* instance, shape<Dims> start, shape<Dims> stop)

Defined at base/handle.hpp:132

function static_end_pass(void *, shape<Dims>, shape<Dims>)

template <typename Expression>
static void static_end_pass(void* instance, shape<Dims> start, shape<Dims> stop)

Defined at base/handle.hpp:137

Defined at base/handle.hpp:64