Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
#include <spsum_tsr.h>
Public Member Functions | |
~tspsum () | |
tspsum (tspsum *other) | |
virtual tspsum * | clone () |
tspsum (summation const *s) | |
virtual void | set_nnz_blk_A (int64_t const *nnbA) |
Public Member Functions inherited from CTF_int::tsum | |
virtual void | run () |
virtual void | print () |
virtual int64_t | mem_fp () |
returns the number of bytes of buffer space needed More... | |
virtual | ~tsum () |
tsum (tsum *other) | |
tsum (summation const *s) | |
Data Fields | |
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 8 of file spsum_tsr.h.
CTF_int::tspsum::~tspsum | ( | ) |
Definition at line 30 of file spsum_tsr.cxx.
References CTF_int::tsum::buffer, CTF_int::cdealloc(), and nnz_blk_A.
CTF_int::tspsum::tspsum | ( | tspsum * | other | ) |
Definition at line 11 of file spsum_tsr.cxx.
References CTF_int::alloc(), is_sparse_A, is_sparse_B, new_B, new_nnz_B, nnz_A, nnz_B, nnz_blk_A, nnz_blk_B, nvirt_A, and nvirt_B.
Referenced by clone().
CTF_int::tspsum::tspsum | ( | summation const * | s | ) |
Definition at line 35 of file spsum_tsr.cxx.
References CTF_int::summation::A, CTF_int::alloc(), CTF_int::summation::B, CTF_int::tensor::calc_nvirt(), CTF_int::tensor::is_sparse, is_sparse_A, is_sparse_B, new_B, new_nnz_B, nnz_A, nnz_B, CTF_int::tensor::nnz_blk, nnz_blk_A, nnz_blk_B, CTF_int::tensor::nnz_loc, nvirt_A, and nvirt_B.
|
inlinevirtual |
Reimplemented from CTF_int::tsum.
Reimplemented in CTF_int::tspsum_pin_keys, CTF_int::tspsum_permute, CTF_int::tspsum_map, CTF_int::seq_tsr_spsum, CTF_int::tspsum_replicate, and CTF_int::tspsum_virt.
Definition at line 23 of file spsum_tsr.h.
References tspsum().
Referenced by CTF_int::tspsum_virt::set_nnz_blk_A(), CTF_int::tspsum_map::tspsum_map(), CTF_int::tspsum_permute::tspsum_permute(), CTF_int::tspsum_pin_keys::tspsum_pin_keys(), CTF_int::tspsum_replicate::tspsum_replicate(), and CTF_int::tspsum_virt::tspsum_virt().
|
inlinevirtual |
Reimplemented in CTF_int::tspsum_pin_keys, CTF_int::tspsum_permute, CTF_int::tspsum_map, CTF_int::seq_tsr_spsum, CTF_int::tspsum_replicate, and CTF_int::tspsum_virt.
Definition at line 25 of file spsum_tsr.h.
Referenced by CTF_int::tspsum_replicate::run(), CTF_int::tspsum_map::run(), CTF_int::tspsum_virt::set_nnz_blk_A(), CTF_int::tspsum_replicate::set_nnz_blk_A(), CTF_int::seq_tsr_spsum::set_nnz_blk_A(), CTF_int::tspsum_map::set_nnz_blk_A(), CTF_int::tspsum_permute::set_nnz_blk_A(), and CTF_int::tspsum_pin_keys::set_nnz_blk_A().
bool CTF_int::tspsum::is_sparse_A |
Definition at line 10 of file spsum_tsr.h.
Referenced by CTF_int::tspsum_virt::run(), CTF_int::tspsum_replicate::run(), CTF_int::seq_tsr_spsum::run(), and tspsum().
bool CTF_int::tspsum::is_sparse_B |
Definition at line 14 of file spsum_tsr.h.
Referenced by CTF_int::tspsum_virt::run(), CTF_int::tspsum_replicate::run(), CTF_int::seq_tsr_spsum::run(), and tspsum().
char* CTF_int::tspsum::new_B |
Definition at line 19 of file spsum_tsr.h.
Referenced by CTF_int::tspsum_virt::run(), CTF_int::tspsum_replicate::run(), CTF_int::seq_tsr_spsum::run(), CTF_int::tspsum_map::run(), CTF_int::tspsum_permute::run(), CTF_int::tspsum_pin_keys::run(), CTF_int::summation::sum_tensors(), and tspsum().
int64_t CTF_int::tspsum::new_nnz_B |
Definition at line 18 of file spsum_tsr.h.
Referenced by CTF_int::tspsum_virt::run(), CTF_int::tspsum_replicate::run(), CTF_int::seq_tsr_spsum::run(), CTF_int::tspsum_map::run(), CTF_int::tspsum_permute::run(), CTF_int::tspsum_pin_keys::run(), CTF_int::summation::sum_tensors(), and tspsum().
int64_t CTF_int::tspsum::nnz_A |
Definition at line 11 of file spsum_tsr.h.
Referenced by CTF_int::tspsum_map::mem_fp(), CTF_int::tspsum_permute::mem_fp(), CTF_int::tspsum_virt::run(), CTF_int::tspsum_replicate::run(), CTF_int::seq_tsr_spsum::run(), CTF_int::tspsum_map::run(), CTF_int::tspsum_permute::run(), CTF_int::tspsum_pin_keys::run(), and tspsum().
int64_t CTF_int::tspsum::nnz_B |
Definition at line 15 of file spsum_tsr.h.
Referenced by CTF_int::tspsum_permute::mem_fp(), CTF_int::tspsum_virt::run(), CTF_int::tspsum_replicate::run(), CTF_int::seq_tsr_spsum::run(), CTF_int::tspsum_map::run(), CTF_int::tspsum_permute::run(), CTF_int::tspsum_pin_keys::run(), and tspsum().
int64_t* CTF_int::tspsum::nnz_blk_A |
Definition at line 13 of file spsum_tsr.h.
Referenced by CTF_int::tspsum_virt::run(), CTF_int::tspsum_replicate::run(), CTF_int::tspsum_map::run(), CTF_int::tspsum_permute::run(), CTF_int::tspsum_pin_keys::run(), tspsum(), CTF_int::tspsum_virt::tspsum_virt(), and ~tspsum().
int64_t* CTF_int::tspsum::nnz_blk_B |
Definition at line 17 of file spsum_tsr.h.
Referenced by CTF_int::tspsum_virt::run(), CTF_int::tspsum_replicate::run(), CTF_int::tspsum_permute::run(), CTF_int::tspsum_pin_keys::run(), tspsum(), and CTF_int::tspsum_virt::tspsum_virt().
int CTF_int::tspsum::nvirt_A |
Definition at line 12 of file spsum_tsr.h.
Referenced by CTF_int::tspsum_replicate::run(), CTF_int::tspsum_map::run(), CTF_int::tspsum_permute::run(), CTF_int::tspsum_pin_keys::run(), and tspsum().
int CTF_int::tspsum::nvirt_B |
Definition at line 16 of file spsum_tsr.h.
Referenced by CTF_int::tspsum_replicate::run(), CTF_int::tspsum_permute::run(), CTF_int::tspsum_pin_keys::run(), and tspsum().