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

#include <ctr_tsr.h>

Inheritance diagram for CTF_int::ctr_virt:
Collaboration diagram for CTF_int::ctr_virt:

Public Member Functions

void print ()
 
void run (char *A, char *B, char *C)
 iterates over the dense virtualization block grid and contracts More...
 
int64_t mem_fp ()
 
int64_t mem_rec ()
 
double est_time_rec (int nlyr)
 
ctrclone ()
 
 ~ctr_virt ()
 deallocates ctr_virt object More...
 
 ctr_virt (ctr *other)
 copies ctr_virt object More...
 
 ctr_virt (contraction const *c, int num_tot, int *virt_dim, int64_t vrt_sz_A, int64_t vrt_sz_B, int64_t vrt_sz_C)
 
- Public Member Functions inherited from CTF_int::ctr
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
 
int num_dim
 
int * virt_dim
 
int order_A
 
int64_t blk_sz_A
 
int const * idx_map_A
 
int order_B
 
int64_t blk_sz_B
 
int const * idx_map_B
 
int order_C
 
int64_t blk_sz_C
 
int const * idx_map_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 9 of file ctr_tsr.h.

Constructor & Destructor Documentation

CTF_int::ctr_virt::~ctr_virt ( )

deallocates ctr_virt object

Definition at line 41 of file ctr_tsr.cxx.

References CTF_int::cdealloc(), rec_ctr, and virt_dim.

CTF_int::ctr_virt::ctr_virt ( ctr other)
CTF_int::ctr_virt::ctr_virt ( contraction const *  c,
int  num_tot,
int *  virt_dim,
int64_t  vrt_sz_A,
int64_t  vrt_sz_B,
int64_t  vrt_sz_C 
)

Member Function Documentation

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

Reimplemented from CTF_int::ctr.

Definition at line 66 of file ctr_tsr.cxx.

References ctr_virt().

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

Reimplemented from CTF_int::ctr.

Definition at line 82 of file ctr_tsr.cxx.

References ctf.core::dim, CTF_int::ctr::est_time_rec(), num_dim, rec_ctr, and virt_dim.

int64_t CTF_int::ctr_virt::mem_fp ( )
virtual

Reimplemented from CTF_int::ctr.

Definition at line 92 of file ctr_tsr.cxx.

References num_dim, order_A, order_B, order_C, and VIRT_NTD.

Referenced by mem_rec(), and run().

int64_t CTF_int::ctr_virt::mem_rec ( )
virtual

Reimplemented from CTF_int::ctr.

Definition at line 96 of file ctr_tsr.cxx.

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

void CTF_int::ctr_virt::print ( )
virtual

Reimplemented from CTF_int::ctr.

Definition at line 70 of file ctr_tsr.cxx.

References blk_sz_A, blk_sz_B, blk_sz_C, num_dim, CTF_int::ctr::print(), rec_ctr, and virt_dim.

Field Documentation

int64_t CTF_int::ctr_virt::blk_sz_A

Definition at line 15 of file ctr_tsr.h.

Referenced by ctr_virt(), print(), and run().

int64_t CTF_int::ctr_virt::blk_sz_B

Definition at line 18 of file ctr_tsr.h.

Referenced by ctr_virt(), print(), and run().

int64_t CTF_int::ctr_virt::blk_sz_C

Definition at line 21 of file ctr_tsr.h.

Referenced by ctr_virt(), print(), and run().

int const* CTF_int::ctr_virt::idx_map_A

Definition at line 16 of file ctr_tsr.h.

Referenced by ctr_virt().

int const* CTF_int::ctr_virt::idx_map_B

Definition at line 19 of file ctr_tsr.h.

Referenced by ctr_virt().

int const* CTF_int::ctr_virt::idx_map_C

Definition at line 22 of file ctr_tsr.h.

Referenced by ctr_virt().

int CTF_int::ctr_virt::num_dim

Definition at line 12 of file ctr_tsr.h.

Referenced by ctr_virt(), est_time_rec(), mem_fp(), print(), and run().

int CTF_int::ctr_virt::order_A

Definition at line 14 of file ctr_tsr.h.

Referenced by ctr_virt(), mem_fp(), run(), and CTF_int::seq_tsr_ctr::~seq_tsr_ctr().

int CTF_int::ctr_virt::order_B

Definition at line 17 of file ctr_tsr.h.

Referenced by ctr_virt(), mem_fp(), run(), and CTF_int::seq_tsr_ctr::~seq_tsr_ctr().

int CTF_int::ctr_virt::order_C

Definition at line 20 of file ctr_tsr.h.

Referenced by ctr_virt(), mem_fp(), run(), and CTF_int::seq_tsr_ctr::~seq_tsr_ctr().

ctr* CTF_int::ctr_virt::rec_ctr

Definition at line 11 of file ctr_tsr.h.

Referenced by ctr_virt(), est_time_rec(), CTF_int::get_len_ordering(), mem_rec(), print(), run(), and ~ctr_virt().

int* CTF_int::ctr_virt::virt_dim

Definition at line 13 of file ctr_tsr.h.

Referenced by ctr_virt(), est_time_rec(), print(), run(), and ~ctr_virt().


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