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

#include <sum_tsr.h>

Inheritance diagram for CTF_int::seq_tsr_sum:
Collaboration diagram for CTF_int::seq_tsr_sum:

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

Detailed Description

Definition at line 147 of file sum_tsr.h.

Constructor & Destructor Documentation

CTF_int::seq_tsr_sum::seq_tsr_sum ( tsum other)

copies sum object

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

CTF_int::seq_tsr_sum::~seq_tsr_sum ( )
inline

Definition at line 180 of file sum_tsr.h.

References CTF_int::cdealloc(), and CTF_int::inv_idx().

Member Function Documentation

tsum * CTF_int::seq_tsr_sum::clone ( )
virtual

Reimplemented from CTF_int::tsum.

Definition at line 336 of file sum_tsr.cxx.

References seq_tsr_sum().

int64_t CTF_int::seq_tsr_sum::mem_fp ( )
virtual

returns the number of bytes of buffer space needed

Returns
bytes needed

Reimplemented from CTF_int::tsum.

Definition at line 340 of file sum_tsr.cxx.

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

Field Documentation

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


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