/external/llvm-project/openmp/runtime/test/parallel/ |
D | omp_parallel_shared.c | 9 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()
|
D | omp_parallel_default.c | 10 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()
|
D | omp_parallel_if.c | 9 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()
|
D | omp_parallel_private.c | 11 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()
|
D | omp_parallel_firstprivate.c | 11 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()
|
D | omp_parallel_copyin.c | 12 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/ |
D | omp_threadprivate_for.c | 11 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()
|
D | omp_threadprivate.c | 23 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/ |
D | omp_task_private.c | 10 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()
|
D | omp_task_firstprivate.c | 10 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/ |
D | omp_for_lastprivate.c | 12 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()
|
D | omp_parallel_for_ordered.c | 32 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()
|
D | omp_for_schedule_runtime.c | 27 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()
|
D | omp_parallel_for_firstprivate.c | 10 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()
|
D | omp_parallel_for_lastprivate.c | 10 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()
|
D | omp_parallel_for_if.c | 8 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()
|
D | omp_for_firstprivate.c | 13 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()
|
D | omp_for_ordered.c | 22 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()
|
D | omp_parallel_for_private.c | 21 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()
|
D | omp_for_private.c | 23 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/ |
D | omp_critical.c | 8 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/ |
D | omp_parallel_sections_firstprivate.c | 9 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()
|
D | omp_section_firstprivate.c | 9 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()
|
D | omp_parallel_sections_private.c | 10 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()
|
D | omp_section_private.c | 10 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()
|