Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
#include <sum_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... | |
tsum * | clone () |
seq_tsr_sum (tsum *other) | |
copies sum object More... | |
~seq_tsr_sum () | |
seq_tsr_sum (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::tsum | |
char * | A |
algstrct const * | sr_A |
char const * | alpha |
char * | B |
algstrct const * | sr_B |
char const * | beta |
void * | buffer |
CTF_int::seq_tsr_sum::seq_tsr_sum | ( | tsum * | other | ) |
copies sum object
[in] | other | object to copy |
Definition at line 286 of file sum_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 180 of file sum_tsr.h.
References CTF_int::cdealloc(), and CTF_int::inv_idx().
CTF_int::seq_tsr_sum::seq_tsr_sum | ( | summation const * | s | ) |
Definition at line 310 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::summation::is_custom, is_custom, map_pfx, CTF_int::tensor::order, order_A, order_B, CTF_int::tensor::sym, sym_A, and sym_B.
|
virtual |
Reimplemented from CTF_int::tsum.
Definition at line 336 of file sum_tsr.cxx.
References seq_tsr_sum().
|
virtual |
returns the number of bytes of buffer space needed
Reimplemented from CTF_int::tsum.
Definition at line 340 of file sum_tsr.cxx.
|
virtual |
Reimplemented from CTF_int::tsum.
Definition at line 322 of file sum_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 342 of file sum_tsr.cxx.
References CTF_int::tsum::A, CTF_int::tsum::alpha, ASSERT, CTF_int::tsum::B, CTF_int::tsum::beta, edge_len_A, edge_len_B, func, idx_map_A, idx_map_B, inr_stride, is_custom, is_inner, order_A, order_B, CTF_int::tsum::sr_A, CTF_int::tsum::sr_B, sym_A, sym_B, CTF_int::sym_seq_sum_cust(), CTF_int::sym_seq_sum_inr(), and CTF_int::sym_seq_sum_ref().
int* CTF_int::seq_tsr_sum::edge_len_A |
Definition at line 150 of file sum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), print(), run(), and seq_tsr_sum().
int* CTF_int::seq_tsr_sum::edge_len_B |
Definition at line 154 of file sum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), print(), run(), and seq_tsr_sum().
univar_function const* CTF_int::seq_tsr_sum::func |
Definition at line 165 of file sum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), run(), and seq_tsr_sum().
int const* CTF_int::seq_tsr_sum::idx_map_A |
Definition at line 151 of file sum_tsr.h.
Referenced by run(), and seq_tsr_sum().
int const* CTF_int::seq_tsr_sum::idx_map_B |
Definition at line 155 of file sum_tsr.h.
Referenced by run(), and seq_tsr_sum().
int CTF_int::seq_tsr_sum::inr_stride |
Definition at line 160 of file sum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), print(), run(), and seq_tsr_sum().
int CTF_int::seq_tsr_sum::is_custom |
Definition at line 164 of file sum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), run(), and seq_tsr_sum().
int CTF_int::seq_tsr_sum::is_inner |
Definition at line 159 of file sum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), print(), run(), and seq_tsr_sum().
int64_t CTF_int::seq_tsr_sum::map_pfx |
Definition at line 162 of file sum_tsr.h.
Referenced by print(), and seq_tsr_sum().
int CTF_int::seq_tsr_sum::order_A |
Definition at line 149 of file sum_tsr.h.
Referenced by print(), run(), and seq_tsr_sum().
int CTF_int::seq_tsr_sum::order_B |
Definition at line 153 of file sum_tsr.h.
Referenced by print(), run(), and seq_tsr_sum().
int* CTF_int::seq_tsr_sum::sym_A |
Definition at line 152 of file sum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), run(), and seq_tsr_sum().
int* CTF_int::seq_tsr_sum::sym_B |
Definition at line 156 of file sum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), run(), and seq_tsr_sum().