#include "main.h"
Go to the source code of this file.
Defines | |
#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 | |
void | test_unalignedcount () |
Variables | |
static int | nb_load |
static int | nb_loadu |
static int | nb_store |
static int | nb_storeu |
#define EIGEN_DEBUG_ALIGNED_LOAD { nb_load++; } |
Definition at line 30 of file unalignedcount.cpp.
#define EIGEN_DEBUG_ALIGNED_STORE { nb_store++; } |
Definition at line 32 of file unalignedcount.cpp.
#define EIGEN_DEBUG_UNALIGNED_LOAD { nb_loadu++; } |
Definition at line 31 of file unalignedcount.cpp.
#define EIGEN_DEBUG_UNALIGNED_STORE { nb_storeu++; } |
Definition at line 33 of file unalignedcount.cpp.
#define VERIFY_ALIGNED_UNALIGNED_COUNT | ( | XPR, | |
AL, | |||
UL, | |||
AS, | |||
US | |||
) |
{\ 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 35 of file unalignedcount.cpp.
void test_unalignedcount | ( | ) |
Definition at line 46 of file unalignedcount.cpp.
int nb_load [static] |
Definition at line 25 of file unalignedcount.cpp.
int nb_loadu [static] |
Definition at line 26 of file unalignedcount.cpp.
int nb_store [static] |
Definition at line 27 of file unalignedcount.cpp.
int nb_storeu [static] |
Definition at line 28 of file unalignedcount.cpp.