Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
#include <ctr_tsr.h>
Public Member Functions | |
void | print () |
void | run (char *A, char *B, char *C) |
iterates over the dense virtualization block grid and contracts More... | |
int64_t | mem_fp () |
int64_t | mem_rec () |
double | est_time_rec (int nlyr) |
ctr * | clone () |
~ctr_virt () | |
deallocates ctr_virt object More... | |
ctr_virt (ctr *other) | |
copies ctr_virt object More... | |
ctr_virt (contraction const *c, int num_tot, int *virt_dim, int64_t vrt_sz_A, int64_t vrt_sz_B, int64_t vrt_sz_C) | |
Public Member Functions inherited from CTF_int::ctr | |
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 |
int | num_dim |
int * | virt_dim |
int | order_A |
int64_t | blk_sz_A |
int const * | idx_map_A |
int | order_B |
int64_t | blk_sz_B |
int const * | idx_map_B |
int | order_C |
int64_t | blk_sz_C |
int const * | idx_map_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 |
CTF_int::ctr_virt::~ctr_virt | ( | ) |
deallocates ctr_virt object
Definition at line 41 of file ctr_tsr.cxx.
References CTF_int::cdealloc(), rec_ctr, and virt_dim.
CTF_int::ctr_virt::ctr_virt | ( | ctr * | other | ) |
CTF_int::ctr_virt::ctr_virt | ( | contraction const * | c, |
int | num_tot, | ||
int * | virt_dim, | ||
int64_t | vrt_sz_A, | ||
int64_t | vrt_sz_B, | ||
int64_t | vrt_sz_C | ||
) |
Definition at line 20 of file ctr_tsr.cxx.
References CTF_int::contraction::A, CTF_int::contraction::B, blk_sz_A, blk_sz_B, blk_sz_C, CTF_int::contraction::C, CTF_int::contraction::idx_A, CTF_int::contraction::idx_B, CTF_int::contraction::idx_C, idx_map_A, idx_map_B, idx_map_C, num_dim, CTF_int::tensor::order, order_A, order_B, order_C, and virt_dim.
|
virtual |
|
virtual |
Reimplemented from CTF_int::ctr.
Definition at line 82 of file ctr_tsr.cxx.
References ctf.core::dim, CTF_int::ctr::est_time_rec(), num_dim, rec_ctr, and virt_dim.
|
virtual |
Reimplemented from CTF_int::ctr.
Definition at line 92 of file ctr_tsr.cxx.
References num_dim, order_A, order_B, order_C, and VIRT_NTD.
|
virtual |
Reimplemented from CTF_int::ctr.
Definition at line 96 of file ctr_tsr.cxx.
References mem_fp(), CTF_int::ctr::mem_rec(), and rec_ctr.
|
virtual |
Reimplemented from CTF_int::ctr.
Definition at line 70 of file ctr_tsr.cxx.
References blk_sz_A, blk_sz_B, blk_sz_C, num_dim, CTF_int::ctr::print(), rec_ctr, and virt_dim.
|
virtual |
iterates over the dense virtualization block grid and contracts
Reimplemented from CTF_int::ctr.
Definition at line 101 of file ctr_tsr.cxx.
References CTF_int::alloc(), CTF_int::alloc_ptr(), ASSERT, CTF_int::ctr::beta, blk_sz_A, blk_sz_B, blk_sz_C, CTF_int::cdealloc(), CTF_int::ctr::clone(), DPRINTF, CTF_int::accumulatable::el_size, CTF_int::ctr::idx_lyr, mem_fp(), MIN, CTF_int::algstrct::mulid(), num_dim, CTF_int::ctr::num_lyr, order_A, order_B, order_C, rec_ctr, CTF_int::ctr::run(), SET_LDA_X, CTF_int::ctr::sr_A, CTF_int::ctr::sr_C, TAU_FSTART, TAU_FSTOP, virt_dim, and VIRT_NTD.
int64_t CTF_int::ctr_virt::blk_sz_A |
Definition at line 15 of file ctr_tsr.h.
Referenced by ctr_virt(), print(), and run().
int64_t CTF_int::ctr_virt::blk_sz_B |
Definition at line 18 of file ctr_tsr.h.
Referenced by ctr_virt(), print(), and run().
int64_t CTF_int::ctr_virt::blk_sz_C |
Definition at line 21 of file ctr_tsr.h.
Referenced by ctr_virt(), print(), and run().
int const* CTF_int::ctr_virt::idx_map_A |
Definition at line 16 of file ctr_tsr.h.
Referenced by ctr_virt().
int const* CTF_int::ctr_virt::idx_map_B |
Definition at line 19 of file ctr_tsr.h.
Referenced by ctr_virt().
int const* CTF_int::ctr_virt::idx_map_C |
Definition at line 22 of file ctr_tsr.h.
Referenced by ctr_virt().
int CTF_int::ctr_virt::num_dim |
Definition at line 12 of file ctr_tsr.h.
Referenced by ctr_virt(), est_time_rec(), mem_fp(), print(), and run().
int CTF_int::ctr_virt::order_A |
Definition at line 14 of file ctr_tsr.h.
Referenced by ctr_virt(), mem_fp(), run(), and CTF_int::seq_tsr_ctr::~seq_tsr_ctr().
int CTF_int::ctr_virt::order_B |
Definition at line 17 of file ctr_tsr.h.
Referenced by ctr_virt(), mem_fp(), run(), and CTF_int::seq_tsr_ctr::~seq_tsr_ctr().
int CTF_int::ctr_virt::order_C |
Definition at line 20 of file ctr_tsr.h.
Referenced by ctr_virt(), mem_fp(), run(), and CTF_int::seq_tsr_ctr::~seq_tsr_ctr().
ctr* CTF_int::ctr_virt::rec_ctr |
Definition at line 11 of file ctr_tsr.h.
Referenced by ctr_virt(), est_time_rec(), CTF_int::get_len_ordering(), mem_rec(), print(), run(), and ~ctr_virt().
int* CTF_int::ctr_virt::virt_dim |
Definition at line 13 of file ctr_tsr.h.
Referenced by ctr_virt(), est_time_rec(), print(), run(), and ~ctr_virt().