Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays

scan iterative method using gemv and spmv More...

Collaboration diagram for scan:

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)
 

Detailed Description

scan iterative method using gemv and spmv

Function Documentation

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

Definition at line 108 of file scan.cxx.

Referenced by main().

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().

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 
)