Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
performs replication along a dimension, generates 2.5D algs More...
#include <spsum_tsr.h>
Public Member Functions | |
void | run () |
void | print () |
int64_t | mem_fp () |
returns the number of bytes of buffer space needed More... | |
tspsum * | clone () |
void | set_nnz_blk_A (int64_t const *nnbA) |
tspsum_replicate (tspsum *other) | |
~tspsum_replicate () | |
tspsum_replicate (summation const *s, int const *phys_mapped, int64_t blk_sz_A, int64_t blk_sz_B) | |
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 | |
int64_t | size_A |
int64_t | size_B |
int | ncdt_A |
int | ncdt_B |
CommData ** | cdt_A |
CommData ** | cdt_B |
tspsum * | rec_tsum |
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 |
performs replication along a dimension, generates 2.5D algs
Definition at line 64 of file spsum_tsr.h.
CTF_int::tspsum_replicate::tspsum_replicate | ( | tspsum * | other | ) |
Definition at line 271 of file spsum_tsr.cxx.
References CTF_int::tspsum::clone(), ncdt_A, ncdt_B, rec_tsum, size_A, and size_B.
Referenced by clone().
CTF_int::tspsum_replicate::~tspsum_replicate | ( | ) |
Definition at line 257 of file spsum_tsr.cxx.
References CTF_int::cdealloc(), and CTF_int::tspsum_virt::rec_tsum.
CTF_int::tspsum_replicate::tspsum_replicate | ( | summation const * | s, |
int const * | phys_mapped, | ||
int64_t | blk_sz_A, | ||
int64_t | blk_sz_B | ||
) |
Definition at line 281 of file spsum_tsr.cxx.
References CTF_int::summation::A, CTF_int::alloc_ptr(), ASSERT, CTF_int::summation::B, cdt_A, cdt_B, CTF_int::topology::dim_comm, ncdt_A, ncdt_B, CTF_int::topology::order, size_A, size_B, and CTF_int::tensor::topo.
|
virtual |
Reimplemented from CTF_int::tspsum.
Definition at line 322 of file spsum_tsr.cxx.
References tspsum_replicate().
|
virtual |
returns the number of bytes of buffer space needed
Reimplemented from CTF_int::tsum.
Definition at line 326 of file spsum_tsr.cxx.
|
virtual |
Reimplemented from CTF_int::tsum.
Definition at line 240 of file spsum_tsr.cxx.
References ctf.core::np(), CTF_int::tsum::print(), and CTF_int::tspsum_virt::rec_tsum.
|
virtual |
Reimplemented from CTF_int::tsum.
Definition at line 330 of file spsum_tsr.cxx.
References CTF_int::tsum::A, CTF_int::algstrct::addid(), CTF_int::algstrct::addmop(), CTF_int::alloc(), CTF_int::CommData::allred(), CTF_int::tsum::alpha, ASSERT, CTF_int::tsum::B, CTF_int::CommData::bcast(), CTF_int::tsum::beta, CTF_int::cdealloc(), cdt_A, cdt_B, CTF_int::get_mpi_dt(), CTF_int::tspsum::is_sparse_A, CTF_int::tspsum::is_sparse_B, CTF_int::algstrct::mdtype(), CTF_int::algstrct::mulid(), ncdt_A, ncdt_B, CTF_int::tspsum::new_B, CTF_int::tspsum::new_nnz_B, CTF_int::tspsum::nnz_A, CTF_int::tspsum::nnz_B, CTF_int::tspsum::nnz_blk_A, CTF_int::tspsum::nnz_blk_B, CTF_int::tspsum::nvirt_A, CTF_int::tspsum::nvirt_B, CTF_int::algstrct::pair_size(), CTF_int::CommData::rank, rec_tsum, CTF_int::tsum::run(), CTF_int::algstrct::set(), CTF_int::tspsum::set_nnz_blk_A(), size_A, size_B, CTF_int::tsum::sr_A, and CTF_int::tsum::sr_B.
|
inlinevirtual |
Reimplemented from CTF_int::tspsum.
Definition at line 80 of file spsum_tsr.h.
References CTF_int::tspsum::set_nnz_blk_A().
CommData** CTF_int::tspsum_replicate::cdt_A |
Definition at line 71 of file spsum_tsr.h.
Referenced by run(), and tspsum_replicate().
CommData** CTF_int::tspsum_replicate::cdt_B |
Definition at line 72 of file spsum_tsr.h.
Referenced by run(), and tspsum_replicate().
int CTF_int::tspsum_replicate::ncdt_A |
Definition at line 68 of file spsum_tsr.h.
Referenced by run(), and tspsum_replicate().
int CTF_int::tspsum_replicate::ncdt_B |
Definition at line 69 of file spsum_tsr.h.
Referenced by run(), and tspsum_replicate().
tspsum* CTF_int::tspsum_replicate::rec_tsum |
Definition at line 74 of file spsum_tsr.h.
Referenced by CTF_int::summation::estimate_time(), run(), and tspsum_replicate().
int64_t CTF_int::tspsum_replicate::size_A |
Definition at line 66 of file spsum_tsr.h.
Referenced by run(), and tspsum_replicate().
int64_t CTF_int::tspsum_replicate::size_B |
Definition at line 67 of file spsum_tsr.h.
Referenced by run(), and tspsum_replicate().