CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::ExtFunc_matrixMatrixMultiplication< eigenStore, Type > Struct Template Reference

Low level function generation for matrixMatrixMultiplication. More...

#include <matrixMatrixMultiplication.hpp>

Public Types

using AdjointVectorAccess = codi::VectorAccessInterface<typename Type::Real, typename Type::Identifier>*
 Abbreviation for vector access interface.
 
using Tape = typename Type::Tape
 Abbreviation for tape.
 

Static Public Member Functions

static CODI_INLINE void callForward (typename codi::ActiveArgumentStoreTraits< Type * >::Real const *A, bool active_A, typename codi::ActiveArgumentStoreTraits< Type * >::Gradient *A_d_in, typename codi::ActiveArgumentStoreTraits< Type * >::Real const *B, bool active_B, typename codi::ActiveArgumentStoreTraits< Type * >::Gradient *B_d_in, typename codi::ActiveArgumentStoreTraits< Type * >::Real *R, typename codi::ActiveArgumentStoreTraits< Type * >::Gradient *R_d_out, typename codi::PassiveArgumentStoreTraits< int, uint8_t >::Store n, typename codi::PassiveArgumentStoreTraits< int, uint8_t >::Store k, typename codi::PassiveArgumentStoreTraits< int, uint8_t >::Store m)
 Forward function for derivative evaluation.
 
static CODI_INLINE void callPrimal (bool active, typename codi::ActiveArgumentStoreTraits< Type * >::Real const *A, bool active_A, typename codi::ActiveArgumentStoreTraits< Type * >::Identifier const *A_i_in, typename codi::ActiveArgumentStoreTraits< Type * >::Real const *B, bool active_B, typename codi::ActiveArgumentStoreTraits< Type * >::Identifier const *B_i_in, typename codi::ActiveArgumentStoreTraits< Type * >::Real *R, typename codi::ActiveArgumentStoreTraits< Type * >::Identifier *R_i_out, int n, int k, int m)
 Primal computation function.
 
static CODI_INLINE void callReverse (typename codi::ActiveArgumentStoreTraits< Type * >::Real const *A, bool active_A, typename codi::ActiveArgumentStoreTraits< Type * >::Gradient *A_b_in, typename codi::ActiveArgumentStoreTraits< Type * >::Real const *B, bool active_B, typename codi::ActiveArgumentStoreTraits< Type * >::Gradient *B_b_in, typename codi::ActiveArgumentStoreTraits< Type * >::Real *R, typename codi::ActiveArgumentStoreTraits< Type * >::Gradient *R_b_out, typename codi::PassiveArgumentStoreTraits< int, uint8_t >::Store n, typename codi::PassiveArgumentStoreTraits< int, uint8_t >::Store k, typename codi::PassiveArgumentStoreTraits< int, uint8_t >::Store m)
 Reverse function for derivative evaluation.
 
static CODI_INLINE void del (Tape *tape, codi::ByteDataView &dataStore)
 Function for deletion of contents.
 
static CODI_INLINE void evalAndStore (Type const *A, Type const *B, Type *R, int n, int k, int m)
 Store on tape.
 
static CODI_INLINE void forward (Tape *tape, codi::ByteDataView &dataStore, AdjointVectorAccess adjoints)
 Function for forward interpretation.
 
static CODI_INLINE void registerOnTape ()
 Register function on tape.
 
static CODI_INLINE void reverse (Tape *tape, codi::ByteDataView &dataStore, AdjointVectorAccess adjoints)
 Function for reverse interpretation.
 

Static Public Attributes

static codi::Config::LowLevelFunctionToken ID
 Id for this function.
 

Detailed Description

template<Eigen::StorageOptions eigenStore, typename Type>
struct codi::ExtFunc_matrixMatrixMultiplication< eigenStore, Type >

Low level function generation for matrixMatrixMultiplication.

Member Data Documentation

◆ ID

template<Eigen::StorageOptions eigenStore, typename Type >
codi::Config::LowLevelFunctionToken codi::ExtFunc_matrixMatrixMultiplication< eigenStore, Type >::ID
static
Initial value:
=
size_t constexpr LowLevelFunctionTokenInvalid
Invalid low level function token.
Definition config.h:114

Id for this function.


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