tesseract++ 0.0.1
N-dimensional tensor library for embedded systems
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Microkernel< T, Bits, Arch > Struct Template Reference

#include <microkernel_base.h>

Public Types

using VecType = T
 

Static Public Member Functions

static FORCE_INLINE VecType load (const T *ptr) noexcept
 
static FORCE_INLINE void store (T *ptr, VecType val) noexcept
 
static FORCE_INLINE VecType set1 (T scalar) noexcept
 
static FORCE_INLINE VecType add (VecType a, VecType b) noexcept
 
static FORCE_INLINE VecType mul (VecType a, VecType b) noexcept
 
static FORCE_INLINE VecType sub (VecType a, VecType b) noexcept
 
static FORCE_INLINE VecType div (VecType a, VecType b) noexcept
 
static FORCE_INLINE VecType min (VecType a, VecType b) noexcept
 
static FORCE_INLINE VecType max (VecType a, VecType b) noexcept
 

Static Public Attributes

static constexpr my_size_t simdWidth = 1
 

Member Typedef Documentation

◆ VecType

template<typename T , my_size_t Bits, typename Arch >
using Microkernel< T, Bits, Arch >::VecType = T

Member Function Documentation

◆ add()

template<typename T , my_size_t Bits, typename Arch >
static FORCE_INLINE VecType Microkernel< T, Bits, Arch >::add ( VecType  a,
VecType  b 
)
staticnoexcept

◆ div()

template<typename T , my_size_t Bits, typename Arch >
static FORCE_INLINE VecType Microkernel< T, Bits, Arch >::div ( VecType  a,
VecType  b 
)
staticnoexcept

◆ load()

template<typename T , my_size_t Bits, typename Arch >
static FORCE_INLINE VecType Microkernel< T, Bits, Arch >::load ( const T *  ptr)
staticnoexcept

◆ max()

template<typename T , my_size_t Bits, typename Arch >
static FORCE_INLINE VecType Microkernel< T, Bits, Arch >::max ( VecType  a,
VecType  b 
)
staticnoexcept

◆ min()

template<typename T , my_size_t Bits, typename Arch >
static FORCE_INLINE VecType Microkernel< T, Bits, Arch >::min ( VecType  a,
VecType  b 
)
staticnoexcept

◆ mul()

template<typename T , my_size_t Bits, typename Arch >
static FORCE_INLINE VecType Microkernel< T, Bits, Arch >::mul ( VecType  a,
VecType  b 
)
staticnoexcept

◆ set1()

template<typename T , my_size_t Bits, typename Arch >
static FORCE_INLINE VecType Microkernel< T, Bits, Arch >::set1 ( scalar)
staticnoexcept

◆ store()

template<typename T , my_size_t Bits, typename Arch >
static FORCE_INLINE void Microkernel< T, Bits, Arch >::store ( T *  ptr,
VecType  val 
)
staticnoexcept

◆ sub()

template<typename T , my_size_t Bits, typename Arch >
static FORCE_INLINE VecType Microkernel< T, Bits, Arch >::sub ( VecType  a,
VecType  b 
)
staticnoexcept

Member Data Documentation

◆ simdWidth

template<typename T , my_size_t Bits, typename Arch >
constexpr my_size_t Microkernel< T, Bits, Arch >::simdWidth = 1
staticconstexpr

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