Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
Summation along tensor diagonals. More...
Functions | |
int | reduce_bcast (int n, World &dw) |
char * | getCmdOption (char **begin, char **end, const std::string &option) |
int | main (int argc, char **argv) |
Summation along tensor diagonals.
char* getCmdOption | ( | char ** | begin, |
char ** | end, | ||
const std::string & | option | ||
) |
Definition at line 73 of file reduce_bcast.cxx.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 84 of file reduce_bcast.cxx.
References getCmdOption(), ctf.core::np(), ctf.core::rank(), and reduce_bcast().
int reduce_bcast | ( | int | n, |
World & | dw | ||
) |
Definition at line 14 of file reduce_bcast.cxx.
References CTF::Tensor< dtype >::fill_random(), CTF::Tensor< dtype >::norm2(), and CTF::World::rank.
Referenced by main().