Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
Bench_contractions

Benchmarks arbitrary NS contraction. More...

Collaboration diagram for Bench_contractions:

Functions

int bench_contraction (int n, int niter, char const *iA, char const *iB, char const *iC, CTF_World &dw)
 
char * getCmdOption (char **begin, char **end, const std::string &option)
 
int main (int argc, char **argv)
 

Detailed Description

Benchmarks arbitrary NS contraction.

Function Documentation

int bench_contraction ( int  n,
int  niter,
char const *  iA,
char const *  iB,
char const *  iC,
CTF_World dw 
)

Definition at line 19 of file bench_contraction.cxx.

References NS, and ctf.core::rank().

Referenced by main().

char * getCmdOption ( char **  begin,
char **  end,
const std::string &  option 
)

Definition at line 77 of file bench_contraction.cxx.

Referenced by ccsdt_t3_to_t2(), and main().

int main ( int  argc,
char **  argv 
)

Definition at line 88 of file bench_contraction.cxx.

References bench_contraction(), getCmdOption(), ctf.core::np(), and ctf.core::rank().

Referenced by ccsdt_t3_to_t2().