Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
endomorphism_cust

tests custom element-wise functions by implementing division elementwise on 4D tensors More...

Collaboration diagram for endomorphism_cust:

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)
 

Detailed Description

tests custom element-wise functions by implementing division elementwise on 4D tensors

Function Documentation

cust_type cadd ( cust_type  a,
cust_type  b 
)

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 
)
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().