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

#include <sum_tsr.h>

Inheritance diagram for CTF_int::tsum_virt:
Collaboration diagram for CTF_int::tsum_virt:

Public Member Functions

void run ()
 
void print ()
 
int64_t mem_fp ()
 returns the number of bytes of buffer space needed More...
 
tsumclone ()
 
 tsum_virt (tsum *other)
 iterates over the dense virtualization block grid and contracts More...
 
 ~tsum_virt ()
 
 tsum_virt (summation const *s)
 
- Public Member Functions inherited from CTF_int::tsum
virtual ~tsum ()
 
 tsum (tsum *other)
 
 tsum (summation const *s)
 

Data Fields

tsumrec_tsum
 
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
 
- 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 91 of file sum_tsr.h.

Constructor & Destructor Documentation

CTF_int::tsum_virt::tsum_virt ( tsum other)

iterates over the dense virtualization block grid and contracts

Definition at line 51 of file sum_tsr.cxx.

References CTF_int::alloc(), CTF_int::tsum::clone(), num_dim, rec_tsum, and virt_dim.

Referenced by clone().

CTF_int::tsum_virt::~tsum_virt ( )

Definition at line 46 of file sum_tsr.cxx.

References CTF_int::cdealloc().

Member Function Documentation

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

Reimplemented from CTF_int::tsum.

Definition at line 66 of file sum_tsr.cxx.

References tsum_virt().

int64_t CTF_int::tsum_virt::mem_fp ( )
virtual

returns the number of bytes of buffer space needed

Returns
bytes needed

Reimplemented from CTF_int::tsum.

Definition at line 81 of file sum_tsr.cxx.

References num_dim, order_A, and order_B.

Referenced by run().

void CTF_int::tsum_virt::print ( )
virtual

Reimplemented from CTF_int::tsum.

Definition at line 70 of file sum_tsr.cxx.

References blk_sz_A, blk_sz_B, num_dim, CTF_int::tsum::print(), rec_tsum, and virt_dim.

Field Documentation

int64_t CTF_int::tsum_virt::blk_sz_A

Definition at line 99 of file sum_tsr.h.

Referenced by CTF_int::summation::estimate_time(), print(), and run().

int64_t CTF_int::tsum_virt::blk_sz_B

Definition at line 102 of file sum_tsr.h.

Referenced by CTF_int::summation::estimate_time(), print(), and run().

int const* CTF_int::tsum_virt::idx_map_A

Definition at line 100 of file sum_tsr.h.

Referenced by tsum_virt().

int const* CTF_int::tsum_virt::idx_map_B

Definition at line 103 of file sum_tsr.h.

Referenced by tsum_virt().

int CTF_int::tsum_virt::num_dim

Definition at line 96 of file sum_tsr.h.

Referenced by CTF_int::summation::estimate_time(), mem_fp(), print(), run(), and tsum_virt().

int CTF_int::tsum_virt::order_A

Definition at line 98 of file sum_tsr.h.

Referenced by mem_fp(), run(), and tsum_virt().

int CTF_int::tsum_virt::order_B

Definition at line 101 of file sum_tsr.h.

Referenced by mem_fp(), run(), and tsum_virt().

int* CTF_int::tsum_virt::virt_dim

Definition at line 97 of file sum_tsr.h.

Referenced by CTF_int::summation::estimate_time(), print(), run(), and tsum_virt().


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