Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
#include <strp_tsr.h>
Public Member Functions | |
void | run (char *A, char *B, char *C) |
runs strip for contraction of tensors More... | |
int64_t | mem_fp () |
returns the number of bytes of buffer space we need recursively More... | |
int64_t | mem_rec () |
double | est_time_rec (int nlyr) |
returns the number of bytes sent recursively More... | |
ctr * | clone () |
copies strp_ctr object More... | |
~strp_ctr () | |
deconstructor More... | |
strp_ctr (ctr *other) | |
copies strp_ctr object More... | |
strp_ctr (contraction const *c) | |
Public Member Functions inherited from CTF_int::ctr | |
virtual void | print () |
virtual double | est_time_fp (int nlyr) |
virtual | ~ctr () |
deallocates generic ctr object More... | |
ctr (ctr *other) | |
copies generic ctr object More... | |
ctr (contraction const *c) | |
main constructor, defines variable based on contraction class More... | |
Data Fields | |
ctr * | rec_ctr |
strp_tsr * | rec_strp_A |
strp_tsr * | rec_strp_B |
strp_tsr * | rec_strp_C |
int | strip_A |
int | strip_B |
int | strip_C |
Data Fields inherited from CTF_int::ctr | |
algstrct const * | sr_A |
algstrct const * | sr_B |
algstrct const * | sr_C |
char const * | beta |
int | num_lyr |
int | idx_lyr |
Definition at line 124 of file strp_tsr.h.
CTF_int::strp_ctr::~strp_ctr | ( | ) |
deconstructor
Definition at line 158 of file strp_tsr.cxx.
References CTF_int::strp_sum::rec_strp_A, CTF_int::strp_sum::rec_strp_B, CTF_int::strp_sum::strip_A, and CTF_int::strp_sum::strip_B.
CTF_int::strp_ctr::strp_ctr | ( | ctr * | other | ) |
copies strp_ctr object
Definition at line 168 of file strp_tsr.cxx.
References CTF_int::strp_tsr::clone(), CTF_int::ctr::clone(), rec_ctr, rec_strp_A, rec_strp_B, rec_strp_C, strip_A, strip_B, and strip_C.
Referenced by clone().
|
inline |
Definition at line 169 of file strp_tsr.h.
References CTF_int::strp_tsr::blk_sz, CTF_int::strp_tsr::order, and CTF_int::strip_diag().
|
virtual |
copies strp_ctr object
Reimplemented from CTF_int::ctr.
Definition at line 179 of file strp_tsr.cxx.
References strp_ctr().
|
virtual |
returns the number of bytes sent recursively
Reimplemented from CTF_int::ctr.
Definition at line 191 of file strp_tsr.cxx.
References CTF_int::ctr::est_time_rec(), and rec_ctr.
|
virtual |
returns the number of bytes of buffer space we need recursively
Reimplemented from CTF_int::ctr.
Definition at line 183 of file strp_tsr.cxx.
Referenced by mem_rec().
|
virtual |
Reimplemented from CTF_int::ctr.
Definition at line 187 of file strp_tsr.cxx.
References mem_fp(), CTF_int::ctr::mem_rec(), and rec_ctr.
|
virtual |
runs strip for contraction of tensors
Reimplemented from CTF_int::ctr.
Definition at line 196 of file strp_tsr.cxx.
References CTF_int::strp_tsr::A, CTF_int::ctr::beta, CTF_int::strp_tsr::buffer, CTF_int::strp_tsr::free_exp(), CTF_int::ctr::idx_lyr, CTF_int::ctr::num_lyr, rec_ctr, rec_strp_A, rec_strp_B, rec_strp_C, CTF_int::strp_tsr::run(), CTF_int::ctr::run(), strip_A, strip_B, and strip_C.
ctr* CTF_int::strp_ctr::rec_ctr |
Definition at line 126 of file strp_tsr.h.
Referenced by est_time_rec(), mem_rec(), run(), and strp_ctr().
strp_tsr* CTF_int::strp_ctr::rec_strp_A |
Definition at line 128 of file strp_tsr.h.
Referenced by run(), and strp_ctr().
strp_tsr* CTF_int::strp_ctr::rec_strp_B |
Definition at line 129 of file strp_tsr.h.
Referenced by run(), and strp_ctr().
strp_tsr* CTF_int::strp_ctr::rec_strp_C |
Definition at line 130 of file strp_tsr.h.
Referenced by run(), and strp_ctr().
int CTF_int::strp_ctr::strip_A |
Definition at line 132 of file strp_tsr.h.
Referenced by run(), and strp_ctr().
int CTF_int::strp_ctr::strip_B |
Definition at line 133 of file strp_tsr.h.
Referenced by run(), and strp_ctr().
int CTF_int::strp_ctr::strip_C |
Definition at line 134 of file strp_tsr.h.
Referenced by run(), and strp_ctr().