Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
fast_diagram.cxx File Reference
#include <ctf.hpp>
Include dependency graph for fast_diagram.cxx:

Go to the source code of this file.

Functions

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

Function Documentation

int fast_diagram ( int const  n,
World ctf 
)

Definition at line 7 of file fast_diagram.cxx.

References AS, NS, ctf.core::rank(), CTF::Tensor< dtype >::read_local(), SH, and CTF::Tensor< dtype >::write().

Referenced by main().

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

Definition at line 97 of file fast_diagram.cxx.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 108 of file fast_diagram.cxx.

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