Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
#include <sum_tsr.h>
Public Member Functions | |
void | run () |
void | print () |
int64_t | mem_fp () |
returns the number of bytes of buffer space needed More... | |
tsum * | clone () |
tsum_virt (tsum *other) | |
iterates over the dense virtualization block grid and contracts More... | |
~tsum_virt () | |
tsum_virt (summation const *s) | |
Public Member Functions inherited from CTF_int::tsum | |
virtual | ~tsum () |
tsum (tsum *other) | |
tsum (summation const *s) | |
Data Fields | |
tsum * | rec_tsum |
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 |
Data Fields inherited from CTF_int::tsum | |
char * | A |
algstrct const * | sr_A |
char const * | alpha |
char * | B |
algstrct const * | sr_B |
char const * | beta |
void * | buffer |
CTF_int::tsum_virt::tsum_virt | ( | tsum * | other | ) |
iterates over the dense virtualization block grid and contracts
Definition at line 51 of file sum_tsr.cxx.
References CTF_int::alloc(), CTF_int::tsum::clone(), num_dim, rec_tsum, and virt_dim.
Referenced by clone().
CTF_int::tsum_virt::~tsum_virt | ( | ) |
Definition at line 46 of file sum_tsr.cxx.
References CTF_int::cdealloc().
CTF_int::tsum_virt::tsum_virt | ( | summation const * | s | ) |
Definition at line 59 of file sum_tsr.cxx.
References CTF_int::summation::A, CTF_int::summation::B, CTF_int::summation::idx_A, CTF_int::summation::idx_B, idx_map_A, idx_map_B, CTF_int::tensor::order, order_A, and order_B.
|
virtual |
Reimplemented from CTF_int::tsum.
Definition at line 66 of file sum_tsr.cxx.
References tsum_virt().
|
virtual |
returns the number of bytes of buffer space needed
Reimplemented from CTF_int::tsum.
Definition at line 81 of file sum_tsr.cxx.
References num_dim, order_A, and order_B.
Referenced by run().
|
virtual |
Reimplemented from CTF_int::tsum.
Definition at line 70 of file sum_tsr.cxx.
References blk_sz_A, blk_sz_B, num_dim, CTF_int::tsum::print(), rec_tsum, and virt_dim.
|
virtual |
Reimplemented from CTF_int::tsum.
Definition at line 85 of file sum_tsr.cxx.
References CTF_int::tsum::A, CTF_int::alloc(), CTF_int::alloc_ptr(), CTF_int::tsum::alpha, ASSERT, CTF_int::tsum::B, CTF_int::tsum::beta, blk_sz_A, blk_sz_B, CTF_int::tsum::buffer, CTF_int::cdealloc(), CTF_int::accumulatable::el_size, mem_fp(), CTF_int::algstrct::mulid(), num_dim, order_A, order_B, rec_tsum, CTF_int::tsum::run(), SET_LDA_X, CTF_int::tsum::sr_A, CTF_int::tsum::sr_B, TAU_FSTART, TAU_FSTOP, and virt_dim.
int64_t CTF_int::tsum_virt::blk_sz_A |
Definition at line 99 of file sum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), print(), and run().
int64_t CTF_int::tsum_virt::blk_sz_B |
Definition at line 102 of file sum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), print(), and run().
int const* CTF_int::tsum_virt::idx_map_A |
Definition at line 100 of file sum_tsr.h.
Referenced by tsum_virt().
int const* CTF_int::tsum_virt::idx_map_B |
Definition at line 103 of file sum_tsr.h.
Referenced by tsum_virt().
int CTF_int::tsum_virt::num_dim |
Definition at line 96 of file sum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), mem_fp(), print(), run(), and tsum_virt().
int CTF_int::tsum_virt::order_A |
Definition at line 98 of file sum_tsr.h.
Referenced by mem_fp(), run(), and tsum_virt().
int CTF_int::tsum_virt::order_B |
Definition at line 101 of file sum_tsr.h.
Referenced by mem_fp(), run(), and tsum_virt().
tsum* CTF_int::tsum_virt::rec_tsum |
Definition at line 94 of file sum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), print(), CTF_int::tsum_replicate::print(), run(), tsum_virt(), and CTF_int::tsum_replicate::~tsum_replicate().
int* CTF_int::tsum_virt::virt_dim |
Definition at line 97 of file sum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), print(), run(), and tsum_virt().