Home
last modified time | relevance | path

Searched refs:LOOPCOUNT (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/openmp/runtime/test/worksharing/for/
H A Domp_parallel_for_reduction.c27 int logics[LOOPCOUNT]; in test_omp_parallel_for_reduction()
44 known_sum = (LOOPCOUNT*(LOOPCOUNT+1))/2; in test_omp_parallel_for_reduction()
46 for (i=1;i<=LOOPCOUNT;i++) { in test_omp_parallel_for_reduction()
55 diff = (LOOPCOUNT*(LOOPCOUNT+1))/2; in test_omp_parallel_for_reduction()
114 for(i=0;i<LOOPCOUNT;i++) { in test_omp_parallel_for_reduction()
120 for(i=0;i<LOOPCOUNT;++i) { in test_omp_parallel_for_reduction()
129 logics[LOOPCOUNT/2]=0; in test_omp_parallel_for_reduction()
156 logics[LOOPCOUNT/2]=1; in test_omp_parallel_for_reduction()
184 logics[LOOPCOUNT/2]=0; in test_omp_parallel_for_reduction()
211 logics[LOOPCOUNT/2]=1; in test_omp_parallel_for_reduction()
[all …]
H A Domp_for_reduction.c33 int logicsArray[LOOPCOUNT]; in test_omp_for_reduction()
38 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_for_reduction()
72 diff = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_for_reduction()
151 for (i = 0; i < LOOPCOUNT; i++) { in test_omp_for_reduction()
169 logics[LOOPCOUNT / 2] = 0; in test_omp_for_reduction()
185 for (i = 0; i < LOOPCOUNT; i++) { in test_omp_for_reduction()
203 logics[LOOPCOUNT / 2] = 1; in test_omp_for_reduction()
223 for (i = 0; i < LOOPCOUNT; ++i) { in test_omp_for_reduction()
241 logics[LOOPCOUNT / 2] = 0; in test_omp_for_reduction()
275 logics[LOOPCOUNT / 2] = 1; in test_omp_for_reduction()
[all …]
H A Domp_for_lastprivate.c23 for (i = 1; i <= LOOPCOUNT; i++) { in test_omp_for_lastprivate()
35 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_for_lastprivate()
37 fprintf(stderr, "LOOPCOUNT = %d , i0 = %d\n",LOOPCOUNT,i0); in test_omp_for_lastprivate()
38 return ((known_sum == sum) && (i0 == LOOPCOUNT)); in test_omp_for_lastprivate()
H A Domp_parallel_for_firstprivate.c16 for (i = 1; i <= LOOPCOUNT; i++) { in test_omp_parallel_for_firstprivate()
20 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2 + i2 * LOOPCOUNT; in test_omp_parallel_for_firstprivate()
H A Domp_parallel_for_lastprivate.c17 for (i = 1; i <= LOOPCOUNT; i++) { in test_omp_parallel_for_lastprivate()
22 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_parallel_for_lastprivate()
23 return ((known_sum == sum) && (i0 == LOOPCOUNT)); in test_omp_parallel_for_lastprivate()
H A Domp_for_schedule_static_3.c155 tids = (int *) malloc (sizeof (int) * LOOPCOUNT); in test_omp_for_schedule_static_3()
156 tids2 = (int *) malloc (sizeof (int) * LOOPCOUNT); in test_omp_for_schedule_static_3()
163 for (n = 0; n < LOOPCOUNT; n++) { in test_omp_for_schedule_static_3()
164 if (LOOPCOUNT == n + 1 ) in test_omp_for_schedule_static_3()
173 for (m = 1; m <= LOOPCOUNT; m++) { in test_omp_for_schedule_static_3()
179 for (i = 0; i < LOOPCOUNT; i++) in test_omp_for_schedule_static_3()
H A Domp_parallel_for_if.c20 for (i=0; i <= LOOPCOUNT; i++) { in test_omp_parallel_for_if()
25 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_parallel_for_if()
H A Domp_for_firstprivate.c30 for (i = 1; i <= LOOPCOUNT; i++) { in test_omp_for_firstprivate()
40 known_sum = 12345* threadsnum+ (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_for_firstprivate()
H A Domp_parallel_for_private.c27 for (i=1;i<=LOOPCOUNT;i++) in test_omp_parallel_for_private()
35 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_parallel_for_private()
H A Domp_for_private.c33 for (i = 1; i <= LOOPCOUNT; i++) { in test_omp_for_private()
48 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_for_private()
H A Domp_for_schedule_auto.c34 for (i = 1; i <= LOOPCOUNT; i++) { in test_omp_for_auto()
54 known_sum = 12345 * threadsnum + (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_for_auto()
H A Domp_for_schedule_runtime.c34 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_for_runtime()
53 for (i = 1; i <= LOOPCOUNT; i++) { in test_omp_for_runtime()
/llvm-project-15.0.7/openmp/runtime/test/parallel/
H A Domp_parallel_reduction.c27 int logics[LOOPCOUNT]; in test_omp_parallel_reduction()
42 known_sum = (LOOPCOUNT*(LOOPCOUNT+1))/2; in test_omp_parallel_reduction()
46 for (i=1;i<=LOOPCOUNT;i++) { in test_omp_parallel_reduction()
55 diff = (LOOPCOUNT*(LOOPCOUNT+1))/2; in test_omp_parallel_reduction()
112 for(i=0;i<LOOPCOUNT;i++) { in test_omp_parallel_reduction()
117 for(i=0;i<LOOPCOUNT;++i) { in test_omp_parallel_reduction()
126 logics[LOOPCOUNT/2]=0; in test_omp_parallel_reduction()
151 logics[LOOPCOUNT/2]=1; in test_omp_parallel_reduction()
177 logics[LOOPCOUNT/2]=0; in test_omp_parallel_reduction()
202 logics[LOOPCOUNT/2]=1; in test_omp_parallel_reduction()
[all …]
H A Domp_parallel_if.c14 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2 ; in test_omp_parallel_if()
18 for (i = 1; i <= LOOPCOUNT; i++) { in test_omp_parallel_if()
H A Domp_parallel_shared.c12 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2 ; in test_omp_parallel_shared()
19 for (i = 1; i <= LOOPCOUNT; i++) { in test_omp_parallel_shared()
H A Domp_parallel_default.c12 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2 ; in test_omp_parallel_default()
18 for (i = 1; i <= LOOPCOUNT; i++) { in test_omp_parallel_default()
/llvm-project-15.0.7/openmp/runtime/test/atomic/
H A Domp_atomic.c33 int logicsArray[LOOPCOUNT]; in test_omp_atomic()
45 for (i = 1; i <= LOOPCOUNT; i++) { in test_omp_atomic()
51 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_atomic()
65 for (i = 0; i < LOOPCOUNT; i++) { in test_omp_atomic()
70 known_diff = ((LOOPCOUNT - 1) * LOOPCOUNT) / 2 * -1; in test_omp_atomic()
189 if (x != LOOPCOUNT) { in test_omp_atomic()
210 for (j = 0; j < LOOPCOUNT; ++j) { in test_omp_atomic()
230 logics[LOOPCOUNT / 2] = 0; in test_omp_atomic()
246 for (j = 0; j < LOOPCOUNT; j++) { in test_omp_atomic()
266 logics[LOOPCOUNT / 2] = 1; in test_omp_atomic()
[all …]
/llvm-project-15.0.7/openmp/runtime/test/tasking/
H A Domp_task_firstprivate.c13 known_sum = 1234 + (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_task_firstprivate()
23 for (j = 0; j <= LOOPCOUNT; j++) { in test_omp_task_firstprivate()
H A Domp_task_private.c14 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_task_private()
26 for (j = 0; j <= LOOPCOUNT; j++) { in test_omp_task_private()
/llvm-project-15.0.7/openmp/runtime/test/threadprivate/
H A Domp_threadprivate_for.c14 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_threadprivate_for()
21 for (i0 = 1; i0 <= LOOPCOUNT; i0++) { in test_omp_threadprivate_for()
H A Domp_threadprivate.c36 for (i = 1; i <= LOOPCOUNT; i++) { in test_omp_threadprivate()
44 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_threadprivate()
/llvm-project-15.0.7/openmp/runtime/test/worksharing/single/
H A Domp_single.c18 for (i = 0; i < LOOPCOUNT; i++) { in test_omp_single()
30 return ((result == 0) && (nr_iterations == LOOPCOUNT)); in test_omp_single()
/llvm-project-15.0.7/openmp/runtime/test/lock/
H A Domp_lock.c20 for(i = 0; i < LOOPCOUNT; i++) { in test_omp_lock()
33 return ((result == 0) && (nr_iterations == LOOPCOUNT)); in test_omp_lock()
H A Domp_test_lock.c20 for (i = 0; i < LOOPCOUNT; i++) { in test_omp_test_lock()
33 return ((result == 0) && (nr_iterations == LOOPCOUNT)); in test_omp_test_lock()
H A Domp_nest_lock.c18 for(i = 0; i < LOOPCOUNT; i++) { in test_omp_nest_lock()
31 return ((result == 0) && (nr_iterations == LOOPCOUNT)); in test_omp_nest_lock()

12