SCALAPACK
2.2.2
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
BI_IdringBR.c
Go to the documentation of this file.
1
#include "
Bdef.h
"
2
3
void
BI_IdringBR
(
BLACSCONTEXT
*ctxt,
BLACBUFF
*bp,
SDRVPTR
send,
Int
src,
Int
step)
4
{
5
void
BI_Srecv
(
BLACSCONTEXT
*,
Int
,
Int
,
BLACBUFF
*);
6
Int
Np, Iam, msgid, dest;
7
8
Np = ctxt->
scp
->
Np
;
9
Iam = ctxt->
scp
->
Iam
;
10
dest = (Np + Iam + step) % Np;
11
msgid =
Mscopeid
(ctxt);
12
BI_Srecv
(ctxt,
BANYNODE
, msgid, bp);
13
if
(dest != src) send(ctxt, dest, msgid, bp);
14
}
BI_IdringBR
void BI_IdringBR(BLACSCONTEXT *ctxt, BLACBUFF *bp, SDRVPTR send, Int src, Int step)
Definition
BI_IdringBR.c:3
BI_Srecv
void BI_Srecv(BLACSCONTEXT *ctxt, Int src, Int msgid, BLACBUFF *bp)
Definition
BI_Srecv.c:3
Int
#define Int
Definition
Bconfig.h:22
Mscopeid
#define Mscopeid(ctxt)
Definition
Bdef.h:179
SDRVPTR
void(* SDRVPTR)(BLACSCONTEXT *, Int, Int, BLACBUFF *)
Definition
Bdef.h:69
BANYNODE
#define BANYNODE
Definition
Bdef.h:76
Bdef.h
bLaCbUfF
Definition
Bdef.h:55
bLaCsCoNtExT::scp
BLACSSCOPE * scp
Definition
Bdef.h:26
bLaCsCoNtExT
Definition
Bdef.h:24
bLaCsScOpE::Np
Int Np
Definition
Bdef.h:17
bLaCsScOpE::Iam
Int Iam
Definition
Bdef.h:17
BLACS
SRC
BI_IdringBR.c
Generated on Sun Jan 12 2025 15:58:37 for SCALAPACK by
1.9.8