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

#include <ctr_tsr.h>

Inheritance diagram for CTF_int::seq_tsr_ctr:
Collaboration diagram for CTF_int::seq_tsr_ctr:

Public Member Functions

void run (char *A, char *B, char *C)
 wraps user sequential function signature More...
 
void print ()
 
int64_t mem_fp ()
 
double est_fp ()
 
uint64_t est_membw ()
 
double est_time_rec (int nlyr)
 
double est_time_fp (int nlyr)
 
ctrclone ()
 
 seq_tsr_ctr (ctr *other)
 clones ctr object More...
 
 ~seq_tsr_ctr ()
 
 seq_tsr_ctr (contraction const *c, bool is_inner, iparam const *inner_params, int *virt_blk_len_A, int *virt_blk_len_B, int *virt_blk_len_C, int64_t vrt_sz_C)
 
- Public Member Functions inherited from CTF_int::ctr
virtual int64_t mem_rec ()
 
virtual ~ctr ()
 deallocates generic ctr object More...
 
 ctr (ctr *other)
 copies generic ctr object More...
 
 ctr (contraction const *c)
 main constructor, defines variable based on contraction class More...
 

Data Fields

char const * alpha
 
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 order_C
 
int * edge_len_C
 
int const * idx_map_C
 
int * sym_C
 
int is_inner
 
iparam inner_params
 
int is_custom
 
bivar_function const * func
 
- Data Fields inherited from CTF_int::ctr
algstrct const * sr_A
 
algstrct const * sr_B
 
algstrct const * sr_C
 
char const * beta
 
int num_lyr
 
int idx_lyr
 

Detailed Description

Definition at line 87 of file ctr_tsr.h.

Constructor & Destructor Documentation

CTF_int::seq_tsr_ctr::seq_tsr_ctr ( ctr other)

clones ctr object

Parameters
[in]otherobject to clone

Definition at line 354 of file ctr_tsr.cxx.

References CTF_int::alloc(), alpha, edge_len_A, edge_len_B, edge_len_C, func, idx_map_A, idx_map_B, idx_map_C, inner_params, is_custom, is_inner, order_A, order_B, order_C, sym_A, sym_B, and sym_C.

Referenced by clone().

CTF_int::seq_tsr_ctr::~seq_tsr_ctr ( )
inline

Member Function Documentation

ctr * CTF_int::seq_tsr_ctr::clone ( )
virtual

Reimplemented from CTF_int::ctr.

Definition at line 385 of file ctr_tsr.cxx.

References seq_tsr_ctr().

double CTF_int::seq_tsr_ctr::est_time_fp ( int  nlyr)
virtual
double CTF_int::seq_tsr_ctr::est_time_rec ( int  nlyr)
virtual

Reimplemented from CTF_int::ctr.

Definition at line 460 of file ctr_tsr.cxx.

References est_time_fp().

void CTF_int::seq_tsr_ctr::print ( )
virtual

Field Documentation

char const* CTF_int::seq_tsr_ctr::alpha

Definition at line 89 of file ctr_tsr.h.

Referenced by run(), and seq_tsr_ctr().

int* CTF_int::seq_tsr_ctr::edge_len_A

Definition at line 91 of file ctr_tsr.h.

Referenced by est_fp(), est_membw(), print(), run(), and seq_tsr_ctr().

int* CTF_int::seq_tsr_ctr::edge_len_B

Definition at line 95 of file ctr_tsr.h.

Referenced by est_fp(), est_membw(), print(), run(), and seq_tsr_ctr().

int* CTF_int::seq_tsr_ctr::edge_len_C

Definition at line 99 of file ctr_tsr.h.

Referenced by est_fp(), est_membw(), print(), run(), and seq_tsr_ctr().

bivar_function const* CTF_int::seq_tsr_ctr::func

Definition at line 108 of file ctr_tsr.h.

Referenced by run(), and seq_tsr_ctr().

int const* CTF_int::seq_tsr_ctr::idx_map_A

Definition at line 92 of file ctr_tsr.h.

Referenced by est_fp(), run(), and seq_tsr_ctr().

int const* CTF_int::seq_tsr_ctr::idx_map_B

Definition at line 96 of file ctr_tsr.h.

Referenced by est_fp(), run(), and seq_tsr_ctr().

int const* CTF_int::seq_tsr_ctr::idx_map_C

Definition at line 100 of file ctr_tsr.h.

Referenced by est_fp(), run(), and seq_tsr_ctr().

iparam CTF_int::seq_tsr_ctr::inner_params

Definition at line 105 of file ctr_tsr.h.

Referenced by est_fp(), est_membw(), est_time_fp(), print(), run(), and seq_tsr_ctr().

int CTF_int::seq_tsr_ctr::is_custom

Definition at line 107 of file ctr_tsr.h.

Referenced by est_time_fp(), run(), and seq_tsr_ctr().

int CTF_int::seq_tsr_ctr::is_inner

Definition at line 104 of file ctr_tsr.h.

Referenced by est_fp(), est_membw(), est_time_fp(), print(), run(), and seq_tsr_ctr().

int CTF_int::seq_tsr_ctr::order_A

Definition at line 90 of file ctr_tsr.h.

Referenced by est_fp(), est_membw(), CTF_int::inv_idx(), print(), run(), and seq_tsr_ctr().

int CTF_int::seq_tsr_ctr::order_B

Definition at line 94 of file ctr_tsr.h.

Referenced by est_fp(), est_membw(), CTF_int::inv_idx(), print(), run(), and seq_tsr_ctr().

int CTF_int::seq_tsr_ctr::order_C

Definition at line 98 of file ctr_tsr.h.

Referenced by est_fp(), est_membw(), CTF_int::inv_idx(), print(), run(), and seq_tsr_ctr().

int* CTF_int::seq_tsr_ctr::sym_A

Definition at line 93 of file ctr_tsr.h.

Referenced by est_membw(), run(), and seq_tsr_ctr().

int* CTF_int::seq_tsr_ctr::sym_B

Definition at line 97 of file ctr_tsr.h.

Referenced by est_membw(), run(), and seq_tsr_ctr().

int* CTF_int::seq_tsr_ctr::sym_C

Definition at line 101 of file ctr_tsr.h.

Referenced by est_membw(), run(), and seq_tsr_ctr().


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