Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
tests permute function between different worlds More...
Functions | |
int | permute_multiworld (int n, int sym, World &dw) |
char * | getCmdOption (char **begin, char **end, const std::string &option) |
int | main (int argc, char **argv) |
tests permute function between different worlds
char* getCmdOption | ( | char ** | begin, |
char ** | end, | ||
const std::string & | option | ||
) |
Definition at line 157 of file permute_multiworld.cxx.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 167 of file permute_multiworld.cxx.
References AS, getCmdOption(), ctf.core::np(), NS, permute_multiworld(), ctf.core::rank(), SH, and SY.
int permute_multiworld | ( | int | n, |
int | sym, | ||
World & | dw | ||
) |
Definition at line 13 of file permute_multiworld.cxx.
References ctf.core::abs(), CTF::Tensor< dtype >::get_local_data(), ctf.core::np(), NS, CTF::Tensor< dtype >::permute(), ctf.core::rank(), and CTF::Tensor< dtype >::write().
Referenced by main().