Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
scan-3.c
blob: 4e290eb02dfdffeac8486008d8ec901173ca4755 [
file
] [
log
] [
blame
]
int
a
,
b
;
void
f1
(
int
*
c
,
int
*
d
)
{
int
i
;
#pragma
omp
for
reduction
(
inscan
,
+:
a
)
for
(
i
=
0
;
i
<
64
;
i
++)
{
d
[
i
]
=
a
;
#pragma
omp scan inclusive
(
a
)
a
+=
c
[
i
];
}
}