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