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

#include <kernel_helpers.h>

Public Types

using K = Microkernel< T, Bits, Arch >
 

Static Public Member Functions

static FORCE_INLINE K::VecType fmadd_safe (typename K::VecType a, typename K::VecType b, typename K::VecType c) noexcept
 Fused multiply-add with fallback for architectures without native FMA.
 

Member Typedef Documentation

◆ K

template<typename T , my_size_t Bits, typename Arch >
using detail::KernelHelpers< T, Bits, Arch >::K = Microkernel<T, Bits, Arch>

Member Function Documentation

◆ fmadd_safe()

template<typename T , my_size_t Bits, typename Arch >
static FORCE_INLINE K::VecType detail::KernelHelpers< T, Bits, Arch >::fmadd_safe ( typename K::VecType  a,
typename K::VecType  b,
typename K::VecType  c 
)
inlinestaticnoexcept

Fused multiply-add with fallback for architectures without native FMA.

Uses K::fmadd if available, otherwise falls back to K::add(K::mul(a, b), c).

Here is the call graph for this function:

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