Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
tests custom element-wise functions by implementing division elementwise on 4D tensors More...
Data Structures | |
struct | cust_type |
Functions | |
cust_type | cadd (cust_type a, cust_type b) |
void | mpi_cadd (void *a, void *b, int *len, MPI_Datatype *d) |
int | endomorphism_cust (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
Definition at line 18 of file endomorphism_cust.cxx.
References ctf.core::a, ctf.core::b, and cust_type::name.
Referenced by endomorphism_cust(), and mpi_cadd().
int endomorphism_cust | ( | int | n, |
World & | dw | ||
) |
Definition at line 30 of file endomorphism_cust.cxx.
References ctf.core::a, cadd(), cust_type::len_name, mpi_cadd(), cust_type::name, NS, and CTF::World::rank.
Referenced by main().
char* getCmdOption | ( | char ** | begin, |
char ** | end, | ||
const std::string & | option | ||
) |
Definition at line 102 of file endomorphism_cust.cxx.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 113 of file endomorphism_cust.cxx.
References endomorphism_cust(), getCmdOption(), ctf.core::np(), and ctf.core::rank().
void mpi_cadd | ( | void * | a, |
void * | b, | ||
int * | len, | ||
MPI_Datatype * | d | ||
) |
Definition at line 23 of file endomorphism_cust.cxx.
References cadd().
Referenced by endomorphism_cust().