Macros | Functions
product_trmm.cpp File Reference
#include "main.h"
Include dependency graph for product_trmm.cpp:

Go to the source code of this file.

Macros

#define CALL_ALL(NB, SCALAR)
 
#define CALL_ALL_ORDERS(NB, SCALAR, MODE)
 

Functions

 EIGEN_DECLARE_TEST (product_trmm)
 
template<typename T >
int get_random_size ()
 
template<typename Scalar , int Mode, int TriOrder, int OtherOrder, int ResOrder>
void trmm (int rows=get_random_size< Scalar >(), int cols=get_random_size< Scalar >(), int otherCols=get_random_size< Scalar >())
 
template<typename Scalar , int Mode, int TriOrder, int OtherOrder, int ResOrder, int OtherCols>
void trmm (int rows=get_random_size< Scalar >(), int cols=get_random_size< Scalar >(), int otherCols=OtherCols==Dynamic?get_random_size< Scalar >():OtherCols)
 
template<typename Scalar , int Mode, int TriOrder>
void trmv (int rows=get_random_size< Scalar >(), int cols=get_random_size< Scalar >())
 

Macro Definition Documentation

◆ CALL_ALL

#define CALL_ALL (   NB,
  SCALAR 
)
Value:
CALL_ALL_ORDERS(EIGEN_CAT(2,NB),SCALAR,UnitUpper) \
CALL_ALL_ORDERS(EIGEN_CAT(3,NB),SCALAR,StrictlyUpper) \
CALL_ALL_ORDERS(EIGEN_CAT(1,NB),SCALAR,Lower) \
CALL_ALL_ORDERS(EIGEN_CAT(2,NB),SCALAR,UnitLower) \
CALL_ALL_ORDERS(EIGEN_CAT(3,NB),SCALAR,StrictlyLower)

Definition at line 119 of file product_trmm.cpp.

◆ CALL_ALL_ORDERS

#define CALL_ALL_ORDERS (   NB,
  SCALAR,
  MODE 
)
Value:
EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, ColMajor,ColMajor,ColMajor>())); \
EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, ColMajor,ColMajor,RowMajor>())); \
EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, ColMajor,RowMajor,ColMajor>())); \
EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, ColMajor,RowMajor,RowMajor>())); \
EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, RowMajor,ColMajor,ColMajor>())); \
EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, RowMajor,ColMajor,RowMajor>())); \
EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, RowMajor,RowMajor,ColMajor>())); \
EIGEN_CAT(CALL_SUBTEST_,NB)((trmm<SCALAR, MODE, RowMajor,RowMajor,RowMajor>())); \
EIGEN_CAT(CALL_SUBTEST_1,NB)((trmv<SCALAR, MODE, ColMajor>())); \
EIGEN_CAT(CALL_SUBTEST_1,NB)((trmv<SCALAR, MODE, RowMajor>()));

Definition at line 105 of file product_trmm.cpp.

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( product_trmm  )

Definition at line 128 of file product_trmm.cpp.

◆ get_random_size()

template<typename T >
int get_random_size ( )

Definition at line 13 of file product_trmm.cpp.

◆ trmm() [1/2]

template<typename Scalar , int Mode, int TriOrder, int OtherOrder, int ResOrder>
void trmm ( int  rows = get_random_size<Scalar>(),
int  cols = get_random_size<Scalar>(),
int  otherCols = get_random_size<Scalar>() 
)

Definition at line 100 of file product_trmm.cpp.

◆ trmm() [2/2]

template<typename Scalar , int Mode, int TriOrder, int OtherOrder, int ResOrder, int OtherCols>
void trmm ( int  rows = get_random_size<Scalar>(),
int  cols = get_random_size<Scalar>(),
int  otherCols = OtherCols==Dynamic?get_random_size<Scalar>():OtherCols 
)

Definition at line 21 of file product_trmm.cpp.

◆ trmv()

template<typename Scalar , int Mode, int TriOrder>
void trmv ( int  rows = get_random_size<Scalar>(),
int  cols = get_random_size<Scalar>() 
)

Definition at line 94 of file product_trmm.cpp.

Eigen::UnitUpper
@ UnitUpper
Definition: Constants.h:219
Eigen::Upper
@ Upper
Definition: Constants.h:211
CALL_ALL_ORDERS
#define CALL_ALL_ORDERS(NB, SCALAR, MODE)
Definition: product_trmm.cpp:105
Eigen::StrictlyUpper
@ StrictlyUpper
Definition: Constants.h:223
CALL_SUBTEST_1
#define CALL_SUBTEST_1(FUNC)
Definition: split_test_helper.h:4
EIGEN_CAT
#define EIGEN_CAT(a, b)
Definition: Macros.h:902
Eigen::StrictlyLower
@ StrictlyLower
Definition: Constants.h:221
Eigen::Lower
@ Lower
Definition: Constants.h:209
SCALAR
#define SCALAR
Definition: bench_gemm.cpp:23
Eigen::UnitLower
@ UnitLower
Definition: Constants.h:217


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:50