1 extern void abort (void);
15 parallel (int a
, int b
)
21 for (i
= 0; i
< 10; i
++)
22 for (j
= 0; j
< 5; j
++)
23 A
[i
][j
].y
.l
[3][3] = -10;
25 #pragma omp parallel shared (a, b, A) num_threads (5)
30 a
+= omp_get_num_threads ();
33 b
+= omp_get_num_threads ();
35 #pragma omp for private (j)
36 for (i
= 0; i
< 10; i
++)
37 for (j
= 0; j
< 5; j
++)
38 A
[i
][j
].y
.l
[3][3] += 20;
42 for (i
= 0; i
< 10; i
++)
43 for (j
= 0; j
< 5; j
++)
44 if (A
[i
][j
].y
.l
[3][3] != 10)