TR-mbed 1.0
Loading...
Searching...
No Matches
Macros | Functions
sparse_dense_product.cpp File Reference
#include "BenchSparseUtil.h"

Macros

#define SIZE   650000
 
#define DENSITY   0.01
 
#define REPEAT   1
 
#define MINDENSITY   0.0004
 
#define NBTRIES   10
 
#define BENCH(X)
 

Functions

int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ BENCH

#define BENCH (   X)
Value:
timer.reset(); \
for (int _j=0; _j<NBTRIES; ++_j) { \
timer.start(); \
for (int _k=0; _k<REPEAT; ++_k) { \
X \
} timer.stop(); }
#define X
Definition icosphere.cpp:20
#define REPEAT
Definition sparse_dense_product.cpp:15
#define NBTRIES
Definition sparse_dense_product.cpp:25

◆ DENSITY

#define DENSITY   0.01

◆ MINDENSITY

#define MINDENSITY   0.0004

◆ NBTRIES

#define NBTRIES   10

◆ REPEAT

#define REPEAT   1

◆ SIZE

#define SIZE   650000

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)