10 _mat=
new long[ssz*rsz];
12 std::cerr<<
"[new] CommMatrix -- ssz: "<<
_ssz<<
" rsz:"<<
_rsz<<std::endl;
13 std::cerr<<
"[new] Alloc"<<(
void*)
_mat<<std::endl;
22 std::cerr<<
"[new/copy] Alloc"<<(
void*)
_mat<<std::endl;
27 std::cerr<<
"[new/copy] CommMatrix -- ssz: "<<
_ssz<<
" rsz:"<<_rsz<<std::endl;
34 std::cerr<<
"[del] free"<<(
void*)
_mat<<std::endl;
38 std::cerr<<
"[del] CommMatrix"<<std::endl;
45 std::cerr<<
"[dump] CommMatrix -- ssz: "<<
_ssz<<
" rsz:"<<
_rsz<<std::endl;
46 for(
unsigned i=0;i<
_ssz;i++) {
47 for(
unsigned j=0;j<
_rsz;j++) {
48 std::cerr <<
"[dump] "<<i<<
" -> "<<j<<
" : "<<this->
get(i,j)<<std::endl;
unsigned getReceiverSize() const
CommMatrix(unsigned ssz=1, unsigned rsz=1)
unsigned getSenderSize() const