Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
#include <spsum_tsr.h>
Public Member Functions | |
void | run () |
wraps user sequential function signature More... | |
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) |
seq_tsr_spsum (tspsum *other) | |
copies sum object More... | |
~seq_tsr_spsum () | |
seq_tsr_spsum (summation const *s) | |
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 | |
int | order_A |
int * | edge_len_A |
int const * | idx_map_A |
int * | sym_A |
int | order_B |
int * | edge_len_B |
int const * | idx_map_B |
int * | sym_B |
int | is_inner |
int | inr_stride |
int64_t | map_pfx |
int | is_custom |
univar_function const * | func |
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 93 of file spsum_tsr.h.
CTF_int::seq_tsr_spsum::seq_tsr_spsum | ( | tspsum * | other | ) |
copies sum object
[in] | other | object to copy |
Definition at line 409 of file spsum_tsr.cxx.
References CTF_int::alloc(), edge_len_A, edge_len_B, func, idx_map_A, idx_map_B, inr_stride, is_custom, is_inner, map_pfx, order_A, order_B, sym_A, and sym_B.
Referenced by clone().
|
inline |
Definition at line 129 of file spsum_tsr.h.
References CTF_int::cdealloc().
CTF_int::seq_tsr_spsum::seq_tsr_spsum | ( | summation const * | s | ) |
Definition at line 433 of file spsum_tsr.cxx.
References CTF_int::summation::A, CTF_int::summation::B, CTF_int::mapping::calc_phase(), CTF_int::tensor::edge_map, CTF_int::summation::idx_A, CTF_int::summation::idx_B, idx_map_A, idx_map_B, CTF_int::summation::is_custom, is_custom, CTF_int::tensor::is_sparse, map_pfx, CTF_int::tensor::order, order_A, order_B, CTF_int::tensor::pad_edge_len, CTF_int::tensor::sym, sym_A, and sym_B.
|
virtual |
Reimplemented from CTF_int::tspsum.
Definition at line 473 of file spsum_tsr.cxx.
References seq_tsr_spsum().
|
virtual |
returns the number of bytes of buffer space needed
Reimplemented from CTF_int::tsum.
Definition at line 477 of file spsum_tsr.cxx.
|
virtual |
Reimplemented from CTF_int::tsum.
Definition at line 459 of file spsum_tsr.cxx.
References edge_len_A, edge_len_B, inr_stride, is_inner, map_pfx, order_A, and order_B.
|
virtual |
wraps user sequential function signature
Reimplemented from CTF_int::tsum.
Definition at line 479 of file spsum_tsr.cxx.
References CTF_int::tsum::A, CTF_int::tsum::alpha, CTF_int::tsum::B, CTF_int::tsum::beta, CTF_int::dnA_spB_seq_sum(), edge_len_A, edge_len_B, func, CTF_int::tspsum::is_sparse_A, CTF_int::tspsum::is_sparse_B, map_pfx, CTF_int::tspsum::new_B, CTF_int::tspsum::new_nnz_B, CTF_int::tspsum::nnz_A, CTF_int::tspsum::nnz_B, order_A, order_B, CTF_int::spA_dnB_seq_sum(), CTF_int::spA_spB_seq_sum(), CTF_int::tsum::sr_A, CTF_int::tsum::sr_B, sym_A, and sym_B.
|
inlinevirtual |
Reimplemented from CTF_int::tspsum.
Definition at line 120 of file spsum_tsr.h.
References CTF_int::tspsum::set_nnz_blk_A().
int* CTF_int::seq_tsr_spsum::edge_len_A |
Definition at line 96 of file spsum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), print(), run(), and seq_tsr_spsum().
int* CTF_int::seq_tsr_spsum::edge_len_B |
Definition at line 100 of file spsum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), print(), run(), and seq_tsr_spsum().
univar_function const* CTF_int::seq_tsr_spsum::func |
Definition at line 111 of file spsum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), run(), and seq_tsr_spsum().
int const* CTF_int::seq_tsr_spsum::idx_map_A |
Definition at line 97 of file spsum_tsr.h.
Referenced by seq_tsr_spsum().
int const* CTF_int::seq_tsr_spsum::idx_map_B |
Definition at line 101 of file spsum_tsr.h.
Referenced by seq_tsr_spsum().
int CTF_int::seq_tsr_spsum::inr_stride |
Definition at line 106 of file spsum_tsr.h.
Referenced by print(), and seq_tsr_spsum().
int CTF_int::seq_tsr_spsum::is_custom |
Definition at line 110 of file spsum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), and seq_tsr_spsum().
int CTF_int::seq_tsr_spsum::is_inner |
Definition at line 105 of file spsum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), print(), and seq_tsr_spsum().
int64_t CTF_int::seq_tsr_spsum::map_pfx |
Definition at line 108 of file spsum_tsr.h.
Referenced by print(), run(), and seq_tsr_spsum().
int CTF_int::seq_tsr_spsum::order_A |
Definition at line 95 of file spsum_tsr.h.
Referenced by print(), run(), and seq_tsr_spsum().
int CTF_int::seq_tsr_spsum::order_B |
Definition at line 99 of file spsum_tsr.h.
Referenced by print(), run(), and seq_tsr_spsum().
int* CTF_int::seq_tsr_spsum::sym_A |
Definition at line 98 of file spsum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), run(), and seq_tsr_spsum().
int* CTF_int::seq_tsr_spsum::sym_B |
Definition at line 102 of file spsum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), run(), and seq_tsr_spsum().