Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
tests read and write dense data to file functionality More...
Functions | |
int | checkpoint (int n, World &dw, int qtf=NS) |
char * | getCmdOption (char **begin, char **end, const std::string &option) |
int | main (int argc, char **argv) |
tests read and write dense data to file functionality
Definition at line 12 of file checkpoint.cxx.
References CTF::World::comm, CTF::Tensor< dtype >::fill_random(), CTF::Tensor< dtype >::norm2(), CTF::Tensor< dtype >::print(), CTF::World::rank, CTF_int::tensor::read_dense_from_file(), and CTF_int::tensor::write_dense_to_file().
Referenced by main().
char* getCmdOption | ( | char ** | begin, |
char ** | end, | ||
const std::string & | option | ||
) |
Definition at line 60 of file checkpoint.cxx.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 71 of file checkpoint.cxx.
References checkpoint(), getCmdOption(), ctf.core::np(), NS, and ctf.core::rank().