Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
tests custom element-wise functions by implementing division elementwise on 4D tensors More...
Functions | |
void | fdbl (double &a) |
int | endomorphism (int n, World &dw) |
char * | getCmdOption (char **begin, char **end, const std::string &option) |
int | main (int argc, char **argv) |
tests custom element-wise functions by implementing division elementwise on 4D tensors
int endomorphism | ( | int | n, |
World & | dw | ||
) |
Definition at line 17 of file endomorphism.cxx.
References fdbl(), CTF::Tensor< dtype >::fill_random(), NS, CTF::World::rank, CTF::Tensor< dtype >::read_all(), and ctf.core::scale().
Referenced by main(), and ctf.core::MPI_Stop().
void fdbl | ( | double & | a | ) |
Definition at line 13 of file endomorphism.cxx.
References ctf.core::a.
Referenced by endomorphism().
char* getCmdOption | ( | char ** | begin, |
char ** | end, | ||
const std::string & | option | ||
) |
Definition at line 68 of file endomorphism.cxx.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 79 of file endomorphism.cxx.
References endomorphism(), getCmdOption(), ctf.core::np(), and ctf.core::rank().