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

#include <strp_tsr.h>

Inheritance diagram for CTF_int::strp_ctr:
Collaboration diagram for CTF_int::strp_ctr:

Public Member Functions

void run (char *A, char *B, char *C)
 runs strip for contraction of tensors More...
 
int64_t mem_fp ()
 returns the number of bytes of buffer space we need recursively More...
 
int64_t mem_rec ()
 
double est_time_rec (int nlyr)
 returns the number of bytes sent recursively More...
 
ctrclone ()
 copies strp_ctr object More...
 
 ~strp_ctr ()
 deconstructor More...
 
 strp_ctr (ctr *other)
 copies strp_ctr object More...
 
 strp_ctr (contraction const *c)
 
- Public Member Functions inherited from CTF_int::ctr
virtual void print ()
 
virtual double est_time_fp (int nlyr)
 
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

ctrrec_ctr
 
strp_tsrrec_strp_A
 
strp_tsrrec_strp_B
 
strp_tsrrec_strp_C
 
int strip_A
 
int strip_B
 
int strip_C
 
- 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 124 of file strp_tsr.h.

Constructor & Destructor Documentation

CTF_int::strp_ctr::~strp_ctr ( )
CTF_int::strp_ctr::strp_ctr ( ctr other)

copies strp_ctr object

Definition at line 168 of file strp_tsr.cxx.

References CTF_int::strp_tsr::clone(), CTF_int::ctr::clone(), rec_ctr, rec_strp_A, rec_strp_B, rec_strp_C, strip_A, strip_B, and strip_C.

Referenced by clone().

CTF_int::strp_ctr::strp_ctr ( contraction const *  c)
inline

Member Function Documentation

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

copies strp_ctr object

Reimplemented from CTF_int::ctr.

Definition at line 179 of file strp_tsr.cxx.

References strp_ctr().

double CTF_int::strp_ctr::est_time_rec ( int  nlyr)
virtual

returns the number of bytes sent recursively

Returns
bytes needed for recursive contraction

Reimplemented from CTF_int::ctr.

Definition at line 191 of file strp_tsr.cxx.

References CTF_int::ctr::est_time_rec(), and rec_ctr.

int64_t CTF_int::strp_ctr::mem_fp ( )
virtual

returns the number of bytes of buffer space we need recursively

Returns
bytes needed for recursive contraction

Reimplemented from CTF_int::ctr.

Definition at line 183 of file strp_tsr.cxx.

Referenced by mem_rec().

int64_t CTF_int::strp_ctr::mem_rec ( )
virtual

Reimplemented from CTF_int::ctr.

Definition at line 187 of file strp_tsr.cxx.

References mem_fp(), CTF_int::ctr::mem_rec(), and rec_ctr.

void CTF_int::strp_ctr::run ( char *  A,
char *  B,
char *  C 
)
virtual

Field Documentation

ctr* CTF_int::strp_ctr::rec_ctr

Definition at line 126 of file strp_tsr.h.

Referenced by est_time_rec(), mem_rec(), run(), and strp_ctr().

strp_tsr* CTF_int::strp_ctr::rec_strp_A

Definition at line 128 of file strp_tsr.h.

Referenced by run(), and strp_ctr().

strp_tsr* CTF_int::strp_ctr::rec_strp_B

Definition at line 129 of file strp_tsr.h.

Referenced by run(), and strp_ctr().

strp_tsr* CTF_int::strp_ctr::rec_strp_C

Definition at line 130 of file strp_tsr.h.

Referenced by run(), and strp_ctr().

int CTF_int::strp_ctr::strip_A

Definition at line 132 of file strp_tsr.h.

Referenced by run(), and strp_ctr().

int CTF_int::strp_ctr::strip_B

Definition at line 133 of file strp_tsr.h.

Referenced by run(), and strp_ctr().

int CTF_int::strp_ctr::strip_C

Definition at line 134 of file strp_tsr.h.

Referenced by run(), and strp_ctr().


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