Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
#include <spsum_tsr.h>
Public Member Functions | |
void | run () |
void | print () |
int64_t | mem_fp () |
returns the number of bytes of buffer space needed More... | |
tspsum * | clone () |
void | set_nnz_blk_A (int64_t const *nnbA) |
tspsum_pin_keys (tspsum *other) | |
~tspsum_pin_keys () | |
tspsum_pin_keys (summation const *s, bool A_or_B) | |
Public Member Functions inherited from CTF_int::tspsum | |
~tspsum () | |
tspsum (tspsum *other) | |
tspsum (summation const *s) | |
Public Member Functions inherited from CTF_int::tsum | |
virtual | ~tsum () |
tsum (tsum *other) | |
tsum (summation const *s) | |
Data Fields | |
tspsum * | rec_tsum |
bool | A_or_B |
int | order |
int const * | lens |
int * | divisor |
int * | virt_dim |
int * | phys_rank |
Data Fields inherited from CTF_int::tspsum | |
bool | is_sparse_A |
int64_t | nnz_A |
int | nvirt_A |
int64_t * | nnz_blk_A |
bool | is_sparse_B |
int64_t | nnz_B |
int | nvirt_B |
int64_t * | nnz_blk_B |
int64_t | new_nnz_B |
char * | new_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 |
Definition at line 180 of file spsum_tsr.h.
CTF_int::tspsum_pin_keys::tspsum_pin_keys | ( | tspsum * | other | ) |
Definition at line 948 of file spsum_tsr.cxx.
References A_or_B, CTF_int::alloc(), CTF_int::tspsum::clone(), divisor, lens, order, phys_rank, rec_tsum, and virt_dim.
Referenced by clone().
CTF_int::tspsum_pin_keys::~tspsum_pin_keys | ( | ) |
Definition at line 941 of file spsum_tsr.cxx.
References CTF_int::cdealloc(), and CTF_int::tspsum_permute::rec_tsum.
CTF_int::tspsum_pin_keys::tspsum_pin_keys | ( | summation const * | s, |
bool | A_or_B | ||
) |
Definition at line 978 of file spsum_tsr.cxx.
References CTF_int::summation::A, A_or_B, CTF_int::alloc(), CTF_int::summation::B, CTF_int::mapping::calc_phase(), CTF_int::mapping::calc_phys_phase(), CTF_int::mapping::calc_phys_rank(), divisor, CTF_int::tensor::edge_map, CTF_int::tensor::lens, lens, CTF_int::tensor::order, order, phys_rank, CTF_int::tensor::topo, and virt_dim.
|
virtual |
Reimplemented from CTF_int::tspsum.
Definition at line 963 of file spsum_tsr.cxx.
References tspsum_pin_keys().
|
virtual |
returns the number of bytes of buffer space needed
Reimplemented from CTF_int::tsum.
Definition at line 974 of file spsum_tsr.cxx.
References order.
|
virtual |
Reimplemented from CTF_int::tsum.
Definition at line 967 of file spsum_tsr.cxx.
References A_or_B, CTF_int::tsum::print(), and rec_tsum.
|
virtual |
Reimplemented from CTF_int::tsum.
Definition at line 1000 of file spsum_tsr.cxx.
References CTF_int::tsum::A, A_or_B, CTF_int::tsum::B, CTF_int::depin(), divisor, lens, CTF_int::tspsum::new_B, CTF_int::tspsum::new_nnz_B, CTF_int::tspsum::nnz_A, CTF_int::tspsum::nnz_B, CTF_int::tspsum::nnz_blk_A, CTF_int::tspsum::nnz_blk_B, CTF_int::tspsum::nvirt_A, CTF_int::tspsum::nvirt_B, order, CTF_int::algstrct::pair_dealloc(), phys_rank, CTF_int::ConstPairIterator::pin(), rec_tsum, CTF_int::tsum::run(), CTF_int::tsum::sr_A, CTF_int::tsum::sr_B, TAU_FSTART, TAU_FSTOP, and virt_dim.
|
inlinevirtual |
Reimplemented from CTF_int::tspsum.
Definition at line 194 of file spsum_tsr.h.
References CTF_int::tspsum::set_nnz_blk_A().
bool CTF_int::tspsum_pin_keys::A_or_B |
Definition at line 183 of file spsum_tsr.h.
Referenced by print(), run(), and tspsum_pin_keys().
int* CTF_int::tspsum_pin_keys::divisor |
Definition at line 186 of file spsum_tsr.h.
Referenced by run(), and tspsum_pin_keys().
int const* CTF_int::tspsum_pin_keys::lens |
Definition at line 185 of file spsum_tsr.h.
Referenced by run(), and tspsum_pin_keys().
int CTF_int::tspsum_pin_keys::order |
Definition at line 184 of file spsum_tsr.h.
Referenced by ctf.core.tensor::__get__(), ctf.core.tensor::__getitem__(), ctf.core.tensor::__setitem__(), ctf.core.tensor::i(), mem_fp(), ctf.core.tensor::permute(), run(), ctf.core.tensor::transpose(), and tspsum_pin_keys().
int* CTF_int::tspsum_pin_keys::phys_rank |
Definition at line 188 of file spsum_tsr.h.
Referenced by run(), and tspsum_pin_keys().
tspsum* CTF_int::tspsum_pin_keys::rec_tsum |
Definition at line 182 of file spsum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), print(), run(), and tspsum_pin_keys().
int* CTF_int::tspsum_pin_keys::virt_dim |
Definition at line 187 of file spsum_tsr.h.
Referenced by run(), and tspsum_pin_keys().