TR-mbed 1.0
Loading...
Searching...
No Matches
Classes | Macros | Functions
cxx11_tensor_block_eval.cpp File Reference
#include "main.h"
#include <Eigen/CXX11/Tensor>

Classes

struct  TensorBlockParams< NumDims >
 
struct  SimpleTensorGenerator< T, NumDims >
 
struct  SimpleTensorGenerator< bool, NumDims >
 

Macros

#define CALL_SUBTEST_PART(PART)    CALL_SUBTEST_##PART
 
#define CALL_SUBTESTS_DIMS_LAYOUTS_TYPES(PART, NAME)
 
#define CALL_SUBTESTS_DIMS_LAYOUTS(PART, NAME)
 
#define CALL_SUBTESTS_LAYOUTS_TYPES(PART, NAME)
 

Functions

Eigen::IndexList< Index, Eigen::type2index< 1 > > NByOne (Index n)
 
Eigen::IndexList< Eigen::type2index< 1 >, Index > OneByM (Index m)
 
 EIGEN_DECLARE_TEST (cxx11_tensor_block_eval)
 

Macro Definition Documentation

◆ CALL_SUBTEST_PART

#define CALL_SUBTEST_PART (   PART)     CALL_SUBTEST_##PART

◆ CALL_SUBTESTS_DIMS_LAYOUTS

#define CALL_SUBTESTS_DIMS_LAYOUTS (   PART,
  NAME 
)
Value:
CALL_SUBTEST_PART(PART)((NAME<float, 1, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 2, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 3, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 4, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 5, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 1, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 2, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 4, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 4, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 5, ColMajor>()))
#define CALL_SUBTEST_PART(PART)
Definition cxx11_tensor_block_eval.cpp:774

◆ CALL_SUBTESTS_DIMS_LAYOUTS_TYPES

#define CALL_SUBTESTS_DIMS_LAYOUTS_TYPES (   PART,
  NAME 
)
Value:
CALL_SUBTEST_PART(PART)((NAME<float, 1, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 2, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 3, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 4, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 5, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 1, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 2, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 4, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 4, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, 5, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<int, 1, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<int, 2, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<int, 3, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<int, 4, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<int, 5, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<int, 1, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<int, 2, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<int, 4, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<int, 4, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<int, 5, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, 1, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, 2, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, 3, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, 4, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, 5, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, 1, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, 2, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, 4, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, 4, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, 5, ColMajor>()))

◆ CALL_SUBTESTS_LAYOUTS_TYPES

#define CALL_SUBTESTS_LAYOUTS_TYPES (   PART,
  NAME 
)
Value:
CALL_SUBTEST_PART(PART)((NAME<float, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, ColMajor>()))

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( cxx11_tensor_block_eval  )

◆ NByOne()

Eigen::IndexList< Index, Eigen::type2index< 1 > > NByOne ( Index  n)
inline

◆ OneByM()

Eigen::IndexList< Eigen::type2index< 1 >, Index > OneByM ( Index  m)
inline