blob: 4f322ab65de658b22c6d3de64de06deffd8d360a [file] [log] [blame]
int a, b;
void
f1 (int *c, int *d)
{
int i;
#pragma omp simd reduction (inscan, +: a)
for (i = 0; i < 64; i++)
{
d[i] = a;
#pragma omp scan exclusive (a)
a += c[i];
}
}