SCALAPACK
2.2.2
LAPACK: Linear Algebra PACKage
Toggle main menu visibility
Main Page
Data Types
Data Types List
Data Type Index
Data Fields
All
a
b
c
d
f
g
i
l
m
n
o
p
r
s
t
u
z
Variables
a
b
c
d
f
g
i
l
m
n
o
p
r
s
t
u
z
Files
File List
File Members
All
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions/Subroutines
!
a
b
c
d
f
g
i
j
k
l
m
n
p
r
s
t
x
z
Variables
Typedefs
a
b
c
f
g
h
m
s
t
v
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
y
z
•
All
Classes
Files
Functions
Variables
Typedefs
Macros
Loading...
Searching...
No Matches
BI_HypBS.c
Go to the documentation of this file.
1
#include "
Bdef.h
"
2
Int
BI_HypBS
(
BLACSCONTEXT
*ctxt,
BLACBUFF
*bp,
SDRVPTR
send)
3
{
4
Int
bit, Np, Iam, msgid;
5
6
Np = ctxt->
scp
->
Np
;
7
if
(Np < 2)
return
(
NORV
);
8
Iam = ctxt->
scp
->
Iam
;
9
msgid =
Mscopeid
(ctxt);
10
11
for
(bit=2; bit < Np; bit <<= 1);
12
if
(bit^Np)
return
(
NPOW2
);
/* not a power of 2 */
13
14
for
(bit=1; (bit^Np); bit <<= 1)
15
send(ctxt, (Iam^bit), msgid, bp);
16
17
return
(0);
/* error-free return */
18
}
2
Int
BI_HypBS
(
BLACSCONTEXT
*ctxt,
BLACBUFF
*bp,
SDRVPTR
send) {
…
}
BI_HypBS
Int BI_HypBS(BLACSCONTEXT *ctxt, BLACBUFF *bp, SDRVPTR send)
Definition
BI_HypBS.c:2
Int
#define Int
Definition
Bconfig.h:22
NORV
#define NORV
Definition
Bdef.h:87
Mscopeid
#define Mscopeid(ctxt)
Definition
Bdef.h:179
NPOW2
#define NPOW2
Definition
Bdef.h:88
SDRVPTR
void(* SDRVPTR)(BLACSCONTEXT *, Int, Int, BLACBUFF *)
Definition
Bdef.h:69
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_HypBS.c
Generated on Sun Jan 12 2025 15:58:37 for SCALAPACK by
1.9.8