Home
last modified time | relevance | path

Searched refs:known_sum (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm-project/openmp/runtime/test/parallel/
Domp_parallel_shared.c9 int known_sum; in test_omp_parallel_shared() local
12 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2 ; in test_omp_parallel_shared()
29 if (known_sum != sum) { in test_omp_parallel_shared()
30 fprintf(stderr, "KNOWN_SUM = %d; SUM = %d\n", known_sum, sum); in test_omp_parallel_shared()
32 return (known_sum == sum); in test_omp_parallel_shared()
Domp_parallel_default.c10 int known_sum; in test_omp_parallel_default() local
12 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2 ; in test_omp_parallel_default()
26 if (known_sum != sum) { in test_omp_parallel_default()
27 fprintf(stderr, "KNOWN_SUM = %d; SUM = %d\n", known_sum, sum); in test_omp_parallel_default()
29 return (known_sum == sum); in test_omp_parallel_default()
Domp_parallel_if.c9 int known_sum; in test_omp_parallel_if() local
14 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2 ; in test_omp_parallel_if()
26 return (known_sum == sum); in test_omp_parallel_if()
Domp_parallel_private.c11 int known_sum; in test_omp_parallel_private() local
31 known_sum = (999 * 1000) / 2 + 7 * num_threads; in test_omp_parallel_private()
32 return (known_sum == sum); in test_omp_parallel_private()
Domp_parallel_firstprivate.c11 int known_sum; in test_omp_parallel_firstprivate() local
31 known_sum = (999 * 1000) / 2 + 7 * num_threads; in test_omp_parallel_firstprivate()
32 return (known_sum == sum); in test_omp_parallel_firstprivate()
Domp_parallel_copyin.c12 int known_sum; in test_omp_parallel_copyin() local
32 known_sum = (999 * 1000) / 2 + 7 * num_threads; in test_omp_parallel_copyin()
33 return (known_sum == sum); in test_omp_parallel_copyin()
/external/llvm-project/openmp/runtime/test/threadprivate/
Domp_threadprivate_for.c11 int known_sum; in test_omp_threadprivate_for() local
14 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_threadprivate_for()
31 if (known_sum != sum ) { in test_omp_threadprivate_for()
32 fprintf(stderr, " known_sum = %d, sum = %d\n", known_sum, sum); in test_omp_threadprivate_for()
34 return (known_sum == sum); in test_omp_threadprivate_for()
Domp_threadprivate.c23 int known_sum; in test_omp_threadprivate() local
44 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_threadprivate()
45 if (known_sum != sum ) { in test_omp_threadprivate()
46 fprintf (stderr, " known_sum = %d, sum = %d\n", known_sum, sum); in test_omp_threadprivate()
88 return (known_sum == sum) && !num_failed; in test_omp_threadprivate()
/external/llvm-project/openmp/runtime/test/tasking/
Domp_task_private.c10 int known_sum; in test_omp_task_private() local
14 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_task_private()
21 #pragma omp task private(sum) shared(result, known_sum) in test_omp_task_private()
31 if (sum != known_sum) { in test_omp_task_private()
Domp_task_firstprivate.c10 int known_sum; in test_omp_task_firstprivate() local
13 known_sum = 1234 + (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_task_firstprivate()
29 if (sum != known_sum) { in test_omp_task_firstprivate()
/external/llvm-project/openmp/runtime/test/worksharing/for/
Domp_for_lastprivate.c12 int known_sum; in test_omp_for_lastprivate() local
35 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_for_lastprivate()
36 fprintf(stderr, "known_sum = %d , sum = %d\n",known_sum,sum); in test_omp_for_lastprivate()
38 return ((known_sum == sum) && (i0 == LOOPCOUNT)); in test_omp_for_lastprivate()
Domp_parallel_for_ordered.c32 int known_sum; in test_omp_parallel_for_ordered() local
47 known_sum = (99 * 100) / 2; in test_omp_parallel_for_ordered()
48 fprintf (stderr," known_sum = %d , sum = %d \n", known_sum, sum); in test_omp_parallel_for_ordered()
50 return (known_sum == sum) && is_larger; in test_omp_parallel_for_ordered()
Domp_for_schedule_runtime.c27 int known_sum; in test_omp_for_runtime() local
34 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_for_runtime()
58 if (known_sum != sum) { in test_omp_for_runtime()
59 printf("Known Sum = %d, Calculated Sum = %d\n", known_sum, sum); in test_omp_for_runtime()
Domp_parallel_for_firstprivate.c10 int known_sum; in test_omp_parallel_for_firstprivate() local
20 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2 + i2 * LOOPCOUNT; in test_omp_parallel_for_firstprivate()
21 return (known_sum == sum); in test_omp_parallel_for_firstprivate()
Domp_parallel_for_lastprivate.c10 int known_sum; in test_omp_parallel_for_lastprivate() local
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()
Domp_parallel_for_if.c8 int known_sum; in test_omp_parallel_for_if() local
25 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_parallel_for_if()
28 return (known_sum == sum && num_threads == 1); in test_omp_parallel_for_if()
Domp_for_firstprivate.c13 int known_sum; in test_omp_for_firstprivate() local
40 known_sum = 12345* threadsnum+ (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_for_firstprivate()
41 return (known_sum == sum); in test_omp_for_firstprivate()
Domp_for_ordered.c22 int known_sum; in test_omp_for_ordered() local
45 known_sum=(99 * 100) / 2; in test_omp_for_ordered()
46 return ((known_sum == sum) && is_larger); in test_omp_for_ordered()
Domp_parallel_for_private.c21 int known_sum; in test_omp_parallel_for_private() local
35 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_parallel_for_private()
36 return (known_sum == sum); in test_omp_parallel_for_private()
Domp_for_private.c23 int known_sum; in test_omp_for_private() local
48 known_sum = (LOOPCOUNT * (LOOPCOUNT + 1)) / 2; in test_omp_for_private()
49 return (known_sum == sum); in test_omp_for_private()
/external/llvm-project/openmp/runtime/test/critical/
Domp_critical.c8 int known_sum; in test_omp_critical() local
22 known_sum = 999 * 1000 / 2; in test_omp_critical()
23 return (known_sum == sum); in test_omp_critical()
/external/llvm-project/openmp/runtime/test/worksharing/sections/
Domp_parallel_sections_firstprivate.c9 int known_sum; in test_omp_parallel_sections_firstprivate() local
39 known_sum=11*3+7; in test_omp_parallel_sections_firstprivate()
40 return (known_sum==sum); in test_omp_parallel_sections_firstprivate()
Domp_section_firstprivate.c9 int known_sum; in test_omp_section_firstprivate() local
40 known_sum = 11 * 3 + 7; in test_omp_section_firstprivate()
41 return (known_sum == sum); in test_omp_section_firstprivate()
Domp_parallel_sections_private.c10 int known_sum; in test_omp_parallel_sections_private() local
49 known_sum=(999*1000)/2+7; in test_omp_parallel_sections_private()
50 return (known_sum==sum); in test_omp_parallel_sections_private()
Domp_section_private.c10 int known_sum; in test_omp_section_private() local
51 known_sum = (999 * 1000) / 2 + 7; in test_omp_section_private()
52 return (known_sum == sum); in test_omp_section_private()

12