Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
CTF_int::seq_tsr_spsum Class Reference

#include <spsum_tsr.h>

Inheritance diagram for CTF_int::seq_tsr_spsum:
Collaboration diagram for CTF_int::seq_tsr_spsum:

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...
 
tspsumclone ()
 
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
 

Detailed Description

Definition at line 93 of file spsum_tsr.h.

Constructor & Destructor Documentation

CTF_int::seq_tsr_spsum::seq_tsr_spsum ( tspsum other)

copies sum object

Parameters
[in]otherobject 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().

CTF_int::seq_tsr_spsum::~seq_tsr_spsum ( )
inline

Definition at line 129 of file spsum_tsr.h.

References CTF_int::cdealloc().

Member Function Documentation

tspsum * CTF_int::seq_tsr_spsum::clone ( )
virtual

Reimplemented from CTF_int::tspsum.

Definition at line 473 of file spsum_tsr.cxx.

References seq_tsr_spsum().

int64_t CTF_int::seq_tsr_spsum::mem_fp ( )
virtual

returns the number of bytes of buffer space needed

Returns
bytes needed

Reimplemented from CTF_int::tsum.

Definition at line 477 of file spsum_tsr.cxx.

void CTF_int::seq_tsr_spsum::print ( )
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.

void CTF_int::seq_tsr_spsum::set_nnz_blk_A ( int64_t const *  nnbA)
inlinevirtual

Reimplemented from CTF_int::tspsum.

Definition at line 120 of file spsum_tsr.h.

References CTF_int::tspsum::set_nnz_blk_A().

Field Documentation

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().


The documentation for this class was generated from the following files: