Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
abstract class that knows how to add More...
#include <algstrct.h>
Public Member Functions | |
virtual void | accum (char const *a, char *b) const |
b+=a More... | |
virtual void | init_shell (int64_t n, char *arr) const |
initialize n objects to zero More... | |
Data Fields | |
int | el_size |
size of each element of algstrct in bytes More... | |
abstract class that knows how to add
Definition at line 13 of file algstrct.h.
|
inlinevirtual |
b+=a
Reimplemented in CTF::Monoid_Kernel< dtype, g >, CTF::Monoid_Kernel< dtype_C, g >, and CTF_int::algstrct.
Definition at line 19 of file algstrct.h.
Referenced by CTF_int::algstrct::algstrct(), and CTF_int::CSR_Matrix::csr_add().
|
inlinevirtual |
initialize n objects to zero
[in] | n | number of items |
[in] | arr | array containing n items, to be set to zero |
Reimplemented in CTF::Set< dtype, is_ord >, CTF::Monoid_Kernel< dtype, g >, and CTF::Monoid_Kernel< dtype_C, g >.
Definition at line 26 of file algstrct.h.
Referenced by CTF_int::COO_Matrix::COO_Matrix(), and CTF_int::CSR_Matrix::CSR_Matrix().
int CTF_int::accumulatable::el_size |
size of each element of algstrct in bytes
Definition at line 16 of file algstrct.h.
Referenced by CTF_int::univar_function::acc_f(), CTF_int::algstrct::algstrct(), CTF_int::assign_keys(), CTF_int::bcast_step(), CTF::Bivar_Kernel< dtype_A, dtype_B, dtype_C, f, g >::Bivar_Kernel(), CTF_int::block_reshuffle(), CTF_int::tensor::compare(), CTF_int::tensor::compare_elementwise(), CTF_int::compute_syoff(), CTF_int::COO_Matrix::COO_Matrix(), CTF_int::COO_Matrix::coomm(), CTF_int::CSR_Matrix::CSR_Matrix(), CTF_int::CSR_Matrix::csrmm(), CTF_int::CSR_Matrix::csrmultcsr(), CTF_int::CSR_Matrix::csrmultd(), CTF_int::cyclic_reshuffle(), CTF_int::desymmetrize(), dgtog_reshuffle(), CTF_int::seq_tsr_spctr::est_membw(), CTF_int::seq_tsr_ctr::est_membw(), CTF_int::spctr_replicate::est_time_fp(), CTF_int::ctr_2d_general::est_time_fp(), CTF_int::spctr_2d_general::est_time_fp(), CTF_int::ctr_replicate::est_time_fp(), CTF_int::summation::estimate_time(), CTF_int::ctr_2d_general::find_bsizes(), CTF_int::spctr_2d_general::find_bsizes(), CTF_int::COO_Matrix::get_data(), CTF_int::get_len_ordering(), CTF_int::glb_cyclic_reshuffle(), CTF_int::glb_ord_pup(), CTF::Monoid_Kernel< dtype_C, g >::init_shell(), CTF_int::tensor::larger_equal_than(), CTF_int::tensor::larger_than(), CTF_int::matrix_qr(), CTF_int::matrix_qr_cmplx(), CTF_int::matrix_svd(), CTF_int::matrix_svd_cmplx(), CTF_int::strp_tsr::mem_fp(), CTF_int::ctr_2d_general::mem_fp(), CTF::Monoid_Kernel< dtype_C, g >::Monoid_Kernel(), CTF_int::nosym_transpose(), CTF_int::nosym_transpose_hptt(), CTF_int::tensor::not_equals(), CTF_int::order_globally(), CTF_int::pad_cyclic_pup_virt_buff(), CTF_int::padded_reshuffle(), CTF_int::algstrct::pair_size(), CTF_int::readwrite(), CTF_int::redist_bucket_r0(), CTF_int::reduce_step_post(), CTF_int::reduce_step_pre(), CTF_int::tensor::reduce_sum(), CTF_int::ctr_virt::run(), CTF_int::strp_tsr::run(), CTF_int::scl_virt::run(), CTF_int::tspsum_virt::run(), CTF_int::ctr_2d_general::run(), CTF_int::spctr_2d_general::run(), CTF_int::tsum_virt::run(), CTF_int::spctr_virt::run(), CTF::Group< dtype, is_ord >::safeaddinv(), CTF::Ring< dtype, is_ord >::safeaddinv(), CTF_int::scal_diag(), CTF_int::COO_Matrix::set_data(), CTF_int::tensor::smaller_equal_than(), CTF_int::tensor::smaller_than(), CTF_int::sp_read(), CTF_int::sp_write(), CTF_int::spA_dnB_dnC_seq_ctr(), CTF_int::spA_dnB_seq_sum(), CTF_int::spctr_2d_general::spmem_fp(), CTF_int::spsfy_tsr(), CTF_int::spspsum(), CTF_int::sym_seq_ctr_cust(), CTF_int::sym_seq_ctr_inr(), CTF_int::sym_seq_ctr_ref(), CTF_int::sym_seq_scl_cust(), CTF_int::sym_seq_scl_ref(), CTF_int::sym_seq_sum_cust(), CTF_int::sym_seq_sum_inr(), CTF_int::sym_seq_sum_ref(), CTF_int::symmetrize(), CTF::Tensor< dtype >::Tensor(), CTF_int::tensor::tensor(), CTF_int::wr_pairs_layout(), and CTF_int::zero_padding().