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

#include <spsum_tsr.h>

Inheritance diagram for CTF_int::tspsum_virt:
Collaboration diagram for CTF_int::tspsum_virt:

Public Member Functions

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

Data Fields

tspsumrec_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::tspsum
bool is_sparse_A
 
int64_t nnz_A
 
int nvirt_A
 
int64_t * nnz_blk_A
 
bool is_sparse_B
 
int64_t nnz_B
 
int nvirt_B
 
int64_t * nnz_blk_B
 
int64_t new_nnz_B
 
char * new_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 30 of file spsum_tsr.h.

Constructor & Destructor Documentation

CTF_int::tspsum_virt::tspsum_virt ( tspsum other)

iterates over the dense virtualization block grid and contracts

Definition at line 59 of file spsum_tsr.cxx.

References CTF_int::alloc(), blk_sz_A, blk_sz_B, CTF_int::tspsum::clone(), idx_map_A, idx_map_B, CTF_int::tspsum::nnz_blk_A, CTF_int::tspsum::nnz_blk_B, num_dim, order_A, order_B, rec_tsum, and virt_dim.

Referenced by clone().

CTF_int::tspsum_virt::~tspsum_virt ( )

Definition at line 54 of file spsum_tsr.cxx.

References CTF_int::cdealloc().

CTF_int::tspsum_virt::tspsum_virt ( summation const *  s)

Member Function Documentation

tspsum * CTF_int::tspsum_virt::clone ( )
virtual

Reimplemented from CTF_int::tspsum.

Definition at line 84 of file spsum_tsr.cxx.

References tspsum_virt().

int64_t CTF_int::tspsum_virt::mem_fp ( )
virtual

returns the number of bytes of buffer space needed

Returns
bytes needed

Reimplemented from CTF_int::tsum.

Definition at line 99 of file spsum_tsr.cxx.

References num_dim, order_A, and order_B.

Referenced by run().

void CTF_int::tspsum_virt::print ( )
virtual

Reimplemented from CTF_int::tsum.

Definition at line 88 of file spsum_tsr.cxx.

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

void CTF_int::tspsum_virt::set_nnz_blk_A ( int64_t const *  nnbA)
inlinevirtual

Reimplemented from CTF_int::tspsum.

Definition at line 47 of file spsum_tsr.h.

References CTF_int::tspsum::clone(), and CTF_int::tspsum::set_nnz_blk_A().

Field Documentation

int64_t CTF_int::tspsum_virt::blk_sz_A

Definition at line 38 of file spsum_tsr.h.

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

int64_t CTF_int::tspsum_virt::blk_sz_B

Definition at line 41 of file spsum_tsr.h.

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

int const* CTF_int::tspsum_virt::idx_map_A

Definition at line 39 of file spsum_tsr.h.

Referenced by tspsum_virt().

int const* CTF_int::tspsum_virt::idx_map_B

Definition at line 42 of file spsum_tsr.h.

Referenced by tspsum_virt().

int CTF_int::tspsum_virt::num_dim

Definition at line 35 of file spsum_tsr.h.

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

int CTF_int::tspsum_virt::order_A

Definition at line 37 of file spsum_tsr.h.

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

int CTF_int::tspsum_virt::order_B

Definition at line 40 of file spsum_tsr.h.

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

int* CTF_int::tspsum_virt::virt_dim

Definition at line 36 of file spsum_tsr.h.

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


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