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

Go to the source code of this file.

Macros

#define EIGEN_DEBUG_ALIGNED_LOAD   { nb_load++; }
 
#define EIGEN_DEBUG_ALIGNED_STORE   { nb_store++; }
 
#define EIGEN_DEBUG_UNALIGNED_LOAD   { nb_loadu++; }
 
#define EIGEN_DEBUG_UNALIGNED_STORE   { nb_storeu++; }
 
#define VERIFY_ALIGNED_UNALIGNED_COUNT(XPR, AL, UL, AS, US)
 

Functions

 EIGEN_DECLARE_TEST (unalignedcount)
 

Variables

static int nb_load
 
static int nb_loadu
 
static int nb_store
 
static int nb_storeu
 

Macro Definition Documentation

◆ EIGEN_DEBUG_ALIGNED_LOAD

#define EIGEN_DEBUG_ALIGNED_LOAD   { nb_load++; }

Definition at line 15 of file unalignedcount.cpp.

◆ EIGEN_DEBUG_ALIGNED_STORE

#define EIGEN_DEBUG_ALIGNED_STORE   { nb_store++; }

Definition at line 17 of file unalignedcount.cpp.

◆ EIGEN_DEBUG_UNALIGNED_LOAD

#define EIGEN_DEBUG_UNALIGNED_LOAD   { nb_loadu++; }

Definition at line 16 of file unalignedcount.cpp.

◆ EIGEN_DEBUG_UNALIGNED_STORE

#define EIGEN_DEBUG_UNALIGNED_STORE   { nb_storeu++; }

Definition at line 18 of file unalignedcount.cpp.

◆ VERIFY_ALIGNED_UNALIGNED_COUNT

#define VERIFY_ALIGNED_UNALIGNED_COUNT (   XPR,
  AL,
  UL,
  AS,
  US 
)
Value:
{\
nb_load = nb_loadu = nb_store = nb_storeu = 0; \
XPR; \
if(!(nb_load==AL && nb_loadu==UL && nb_store==AS && nb_storeu==US)) \
std::cerr << " >> " << nb_load << ", " << nb_loadu << ", " << nb_store << ", " << nb_storeu << "\n"; \
VERIFY( (#XPR) && nb_load==AL && nb_loadu==UL && nb_store==AS && nb_storeu==US ); \
}

Definition at line 20 of file unalignedcount.cpp.

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( unalignedcount  )

Definition at line 31 of file unalignedcount.cpp.

Variable Documentation

◆ nb_load

int nb_load
static

Definition at line 10 of file unalignedcount.cpp.

◆ nb_loadu

int nb_loadu
static

Definition at line 11 of file unalignedcount.cpp.

◆ nb_store

int nb_store
static

Definition at line 12 of file unalignedcount.cpp.

◆ nb_storeu

int nb_storeu
static

Definition at line 13 of file unalignedcount.cpp.

nb_store
static int nb_store
Definition: unalignedcount.cpp:12
nb_storeu
static int nb_storeu
Definition: unalignedcount.cpp:13
nb_loadu
static int nb_loadu
Definition: unalignedcount.cpp:11
nb_load
static int nb_load
Definition: unalignedcount.cpp:10


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:27