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

#include <spsum_tsr.h>

Inheritance diagram for CTF_int::tspsum_permute:
Collaboration diagram for CTF_int::tspsum_permute:

Public Member Functions

void run ()
 
void print ()
 
int64_t mem_fp ()
 returns the number of bytes of buffer space needed More...
 
tspsumclone ()
 
void set_nnz_blk_A (int64_t const *nnbA)
 
 tspsum_permute (tspsum *other)
 
 ~tspsum_permute ()
 
 tspsum_permute (summation const *s, bool A_or_B, int const *lens)
 
- 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
 
bool A_or_B
 
int order
 
int * lens_new
 
int * lens_old
 
int * p
 
bool skip
 
- 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 156 of file spsum_tsr.h.

Constructor & Destructor Documentation

CTF_int::tspsum_permute::tspsum_permute ( tspsum other)

Definition at line 664 of file spsum_tsr.cxx.

References A_or_B, CTF_int::alloc(), CTF_int::tspsum::clone(), lens_new, lens_old, order, p, rec_tsum, and skip.

Referenced by clone().

CTF_int::tspsum_permute::~tspsum_permute ( )

Definition at line 657 of file spsum_tsr.cxx.

References CTF_int::cdealloc(), and CTF_int::tspsum_map::rec_tsum.

CTF_int::tspsum_permute::tspsum_permute ( summation const *  s,
bool  A_or_B,
int const *  lens 
)

Member Function Documentation

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

Reimplemented from CTF_int::tspsum.

Definition at line 768 of file spsum_tsr.cxx.

References tspsum_permute().

int64_t CTF_int::tspsum_permute::mem_fp ( )
virtual

returns the number of bytes of buffer space needed

Returns
bytes needed

Reimplemented from CTF_int::tsum.

Definition at line 783 of file spsum_tsr.cxx.

References A_or_B, CTF_int::tspsum::nnz_A, CTF_int::tspsum::nnz_B, CTF_int::algstrct::pair_size(), CTF_int::tsum::sr_A, and CTF_int::tsum::sr_B.

void CTF_int::tspsum_permute::print ( )
virtual

Reimplemented from CTF_int::tsum.

Definition at line 772 of file spsum_tsr.cxx.

References A_or_B, order, p, CTF_int::tsum::print(), and rec_tsum.

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

Reimplemented from CTF_int::tspsum.

Definition at line 170 of file spsum_tsr.h.

References CTF_int::tspsum::set_nnz_blk_A().

Field Documentation

bool CTF_int::tspsum_permute::A_or_B

Definition at line 159 of file spsum_tsr.h.

Referenced by mem_fp(), print(), run(), and tspsum_permute().

int* CTF_int::tspsum_permute::lens_new

Definition at line 161 of file spsum_tsr.h.

Referenced by run(), and tspsum_permute().

int* CTF_int::tspsum_permute::lens_old

Definition at line 162 of file spsum_tsr.h.

Referenced by run(), and tspsum_permute().

int* CTF_int::tspsum_permute::p

Definition at line 163 of file spsum_tsr.h.

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

tspsum* CTF_int::tspsum_permute::rec_tsum
bool CTF_int::tspsum_permute::skip

Definition at line 164 of file spsum_tsr.h.

Referenced by run(), and tspsum_permute().


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