Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
readwrite_test

Tests how writes to diagonals are handled for various tensors. More...

Collaboration diagram for readwrite_test:

Functions

int readwrite_test (int n, World &dw)
 
char * getCmdOption (char **begin, char **end, const std::string &option)
 
int main (int argc, char **argv)
 

Detailed Description

Tests how writes to diagonals are handled for various tensors.

Function Documentation

char* getCmdOption ( char **  begin,
char **  end,
const std::string &  option 
)

Definition at line 151 of file readwrite_test.cxx.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 162 of file readwrite_test.cxx.

References getCmdOption(), ctf.core::np(), ctf.core::rank(), and readwrite_test().

int readwrite_test ( int  n,
World dw 
)

Definition at line 14 of file readwrite_test.cxx.

References NS, CTF::OP_SUM, ctf.core::rank(), CTF::Tensor< dtype >::reduce(), SH, ctf.core::sum(), and SY.

Referenced by main().