Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
Benchmarks arbitrary NS redistribution. More...
Functions | |
void | bench_redistribution (int niter, World &dw, int order, int const *lens, char const *idx, int prl1_ord, int const *prl1_lens, char const *prl1_idx, int prl2_ord, int const *prl2_lens, char const *prl2_idx, int blk1_ord, int const *blk1_lens, char const *blk1_idx, int blk2_ord, int const *blk2_lens, char const *blk2_idx) |
char * | getCmdOption (char **begin, char **end, const std::string &option) |
int | main (int argc, char **argv) |
Benchmarks arbitrary NS redistribution.
void bench_redistribution | ( | int | niter, |
World & | dw, | ||
int | order, | ||
int const * | lens, | ||
char const * | idx, | ||
int | prl1_ord, | ||
int const * | prl1_lens, | ||
char const * | prl1_idx, | ||
int | prl2_ord, | ||
int const * | prl2_lens, | ||
char const * | prl2_idx, | ||
int | blk1_ord, | ||
int const * | blk1_lens, | ||
char const * | blk1_idx, | ||
int | blk2_ord, | ||
int const * | blk2_lens, | ||
char const * | blk2_idx | ||
) |
Definition at line 30 of file bench_redistribution.cxx.
References CTF::Timer_epoch::begin(), CTF::DGTOG_SWITCH, CTF::Timer_epoch::end(), CTF::Tensor< dtype >::fill_random(), NS, ctf.core::rank(), and CTF::Tensor< dtype >::read().
Referenced by main().
char* getCmdOption | ( | char ** | begin, |
char ** | end, | ||
const std::string & | option | ||
) |
Definition at line 172 of file bench_redistribution.cxx.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 183 of file bench_redistribution.cxx.
References bench_redistribution(), getCmdOption(), ctf.core::np(), and ctf.core::rank().