|
Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
Summation of sparse tensors. More...
|
Functions | |
| int | sptensor_sum (int n, World &dw) |
| char * | getCmdOption (char **begin, char **end, const std::string &option) |
| int | main (int argc, char **argv) |
Summation of sparse tensors.
| char* getCmdOption | ( | char ** | begin, |
| char ** | end, | ||
| const std::string & | option | ||
| ) |
Definition at line 85 of file sptensor_sum.cxx.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 96 of file sptensor_sum.cxx.
References getCmdOption(), ctf.core::np(), ctf.core::rank(), and sptensor_sum().
| int sptensor_sum | ( | int | n, |
| World & | dw | ||
| ) |
Definition at line 11 of file sptensor_sum.cxx.
References CTF::Tensor< dtype >::get_local_data(), CTF::World::np, NS, CTF::World::rank, and CTF::Tensor< dtype >::write().
Referenced by main().