|
Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
scan iterative method using gemv and spmv More...
|
Functions | |
| template<typename dtype > | |
| void | rec_scan (Tensor< dtype > &V) |
| template<typename dtype > | |
| void | scan (Vector< dtype > &v, int logn) |
| int | scan_test (int logn, World &dw) |
| char * | getCmdOption (char **begin, char **end, const std::string &option) |
| int | main (int argc, char **argv) |
scan iterative method using gemv and spmv
| char* getCmdOption | ( | char ** | begin, |
| char ** | end, | ||
| const std::string & | option | ||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 119 of file scan.cxx.
References getCmdOption(), ctf.core::np(), ctf.core::rank(), and scan_test().
| void rec_scan | ( | Tensor< dtype > & | V | ) |
Definition at line 13 of file scan.cxx.
References ctf.core::a, ctf.core::dtype, CTF_int::tensor::lens, NS, CTF_int::tensor::order, SH, CTF_int::tensor::sr, and CTF_int::tensor::wrld.
Referenced by scan().
| void scan | ( | Vector< dtype > & | v, |
| int | logn | ||
| ) |
Definition at line 48 of file scan.cxx.
References CTF::Tensor< dtype >::get_local_data(), ctf.core::np(), rec_scan(), CTF_int::tensor::sr, CTF::Tensor< dtype >::write(), and CTF_int::tensor::wrld.
Referenced by scan_test().
| int scan_test | ( | int | logn, |
| World & | dw | ||
| ) |
Definition at line 75 of file scan.cxx.
References ctf.core::abs(), CTF::Tensor< dtype >::fill_random(), CTF::World::rank, CTF::Tensor< dtype >::read_all(), and scan().
Referenced by main().