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