Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
tests read and write dense data to file functionality More...
Functions | |
int | sparse_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
char* getCmdOption | ( | char ** | begin, |
char ** | end, | ||
const std::string & | option | ||
) |
Definition at line 44 of file checkpoint_sparse.cxx.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 55 of file checkpoint_sparse.cxx.
References getCmdOption(), ctf.core::np(), NS, ctf.core::rank(), and sparse_checkpoint().
Definition at line 12 of file checkpoint_sparse.cxx.
References CTF::Tensor< dtype >::fill_sp_random(), CTF::Tensor< dtype >::norm2(), CTF::World::rank, CTF::Tensor< dtype >::read_sparse_from_file(), and CTF::Tensor< dtype >::write_sparse_to_file().
Referenced by main().