diff options
Diffstat (limited to 'openmp/runtime/test/parallel/omp_parallel_copyin.c')
-rw-r--r-- | openmp/runtime/test/parallel/omp_parallel_copyin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/test/parallel/omp_parallel_copyin.c b/openmp/runtime/test/parallel/omp_parallel_copyin.c index f14933b9869..600f9b72c20 100644 --- a/openmp/runtime/test/parallel/omp_parallel_copyin.c +++ b/openmp/runtime/test/parallel/omp_parallel_copyin.c @@ -19,7 +19,7 @@ int test_omp_parallel_copyin() { /*printf("sum1=%d\n",sum1);*/ int i; - #pragma omp for + #pragma omp for for (i = 1; i < 1000; i++) { sum1 = sum1 + i; } /*end of for*/ @@ -28,7 +28,7 @@ int test_omp_parallel_copyin() sum = sum + sum1; num_threads++; } /*end of critical*/ - } /* end of parallel*/ + } /* end of parallel*/ known_sum = (999 * 1000) / 2 + 7 * num_threads; return (known_sum == sum); } |