3 extern "C" void abort (void);
17 parallel (int a, int b)
23 for (i = 0; i < 10; i++)
24 for (j = 0; j < 5; j++)
25 A[i][j].y.l[3][3] = -10;
27 #pragma omp parallel shared (a, b, A) num_threads (5)
32 a += omp_get_num_threads ();
35 b += omp_get_num_threads ();
37 #pragma omp for private (j)
38 for (i = 0; i < 10; i++)
39 for (j = 0; j < 5; j++)
40 A[i][j].y.l[3][3] += 20;
44 for (i = 0; i < 10; i++)
45 for (j = 0; j < 5; j++)
46 if (A[i][j].y.l[3][3] != 10)