batmat main
Batched linear algebra routines
Loading...
Searching...
No Matches
batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R > Struct Template Reference

#include <batmat/linalg/micro-kernels/hyhound.hpp>

Detailed Description

template<class T, class Abi, index_t R>
struct batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R >

Definition at line 17 of file hyhound.hpp.

Public Types

using value_type = T
using simd = datapar::simd<std::remove_const_t<T>, Abi>

Public Member Functions

value_typeoperator() (index_t r, index_t c) const noexcept
simd load (index_t r, index_t c) const noexcept
void store (simd x, index_t r, index_t c) const noexcept
 triangular_accessor (value_type *data) noexcept
 operator triangular_accessor< const T, Abi, R > () const noexcept

Static Public Member Functions

static constexpr index_t num_elem_per_layer ()
static constexpr size_t size ()
static constexpr size_t alignment ()

Public Attributes

value_typedata

Static Public Attributes

static constexpr ptrdiff_t inner_stride

Member Typedef Documentation

◆ value_type

template<class T, class Abi, index_t R>
using batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R >::value_type = T

Definition at line 18 of file hyhound.hpp.

◆ simd

template<class T, class Abi, index_t R>
using batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R >::simd = datapar::simd<std::remove_const_t<T>, Abi>

Definition at line 21 of file hyhound.hpp.

Constructor & Destructor Documentation

◆ triangular_accessor()

template<class T, class Abi, index_t R>
batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R >::triangular_accessor ( value_type * data)
inlinenoexcept

Definition at line 46 of file hyhound.hpp.

Member Function Documentation

◆ num_elem_per_layer()

template<class T, class Abi, index_t R>
constexpr index_t batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R >::num_elem_per_layer ( )
inlinestaticconstexpr

Definition at line 25 of file hyhound.hpp.

◆ size()

template<class T, class Abi, index_t R>
constexpr size_t batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R >::size ( )
inlinestaticconstexpr

Definition at line 26 of file hyhound.hpp.

◆ alignment()

template<class T, class Abi, index_t R>
constexpr size_t batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R >::alignment ( )
inlinestaticconstexpr

Definition at line 29 of file hyhound.hpp.

◆ operator()()

template<class T, class Abi, index_t R>
value_type & batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R >::operator() ( index_t r,
index_t c ) const
inlinenoexcept

Definition at line 33 of file hyhound.hpp.

◆ load()

template<class T, class Abi, index_t R>
simd batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R >::load ( index_t r,
index_t c ) const
inlinenoexcept

Definition at line 37 of file hyhound.hpp.

◆ store()

template<class T, class Abi, index_t R>
void batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R >::store ( simd x,
index_t r,
index_t c ) const
inlinenoexcept

Definition at line 40 of file hyhound.hpp.

◆ operator triangular_accessor< const T, Abi, R >()

template<class T, class Abi, index_t R>
batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R >::operator triangular_accessor< const T, Abi, R > ( ) const
inlinenoexcept

Definition at line 47 of file hyhound.hpp.

Member Data Documentation

◆ data

template<class T, class Abi, index_t R>
value_type* batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R >::data

Definition at line 19 of file hyhound.hpp.

◆ inner_stride

template<class T, class Abi, index_t R>
ptrdiff_t batmat::linalg::micro_kernels::hyhound::triangular_accessor< T, Abi, R >::inner_stride
staticconstexpr
Initial value:
=
stdx::simd_size< Tp, Abi > simd_size
Definition simd.hpp:137

Definition at line 22 of file hyhound.hpp.


The documentation for this struct was generated from the following file:
  • batmat/include/batmat/linalg/micro-kernels/hyhound.hpp