[cfe-dev] [LLVMdev] libiomp, not libgomp as default library linked with -fopenmp

Jack Howarth howarth.mailing.lists at gmail.com
Thu Apr 30 12:10:22 PDT 2015


For comparison, the OpenMP3.1_Validation results on x86_64-apple-darwin14
for original clang-omp 3.5.2 are...

#Tested Directive         t ct ot oct
has_openmp                 100 100 100 100
omp_atomic                 100 100 100 100
omp_barrier               100 100 100 100
omp_critical               100 100 100 100
omp_flush                 100 100 100 100
omp_for_firstprivate       100 100 100 100
omp_for_lastprivate       100 100 100 80
omp_for_ordered           100 100 100 100
omp_for_private           100 100 100 100
omp_for_reduction         100 100 100 100
omp_for_schedule_dynamic   100 100 100 100
omp_for_schedule_guided   35 - 10 -
omp_for_schedule_static   100 100 100 100
omp_for_nowait             100 100 100 100
omp_get_num_threads       100 100 100 100
omp_get_wtick             100 100 100 100
omp_get_wtime             100 100 100 100
omp_in_parallel           100 100 100 100
omp_lock                   100 100 100 100
omp_master                 100 100 100 100
omp_nest_lock             100 100 100 100
omp_parallel_copyin       100 100 100 100
omp_parallel_for_firstprivate 100 100 100 100
omp_parallel_for_lastprivate 100 100 100 100
omp_parallel_for_ordered   100 100 100 100
omp_parallel_for_private   100 100 100 100
omp_parallel_for_reduction 100 100 100 100
omp_parallel_num_threads   100 100 100 100
omp_parallel_sections_firstprivate 100 100 100 100
omp_parallel_sections_lastprivate 100 100 100 100
omp_parallel_sections_private 100 100 100 100
omp_parallel_sections_reduction 100 95 100 90
omp_section_firstprivate   100 100 100 100
omp_section_lastprivate   100 100 100 100
omp_section_private       100 100 100 100
omp_sections_reduction     100 100 100 100
omp_sections_nowait       100 100 100 100
omp_parallel_for_if       100 100 100 100
omp_single_copyprivate     100 100 100 100
omp_single_nowait         100 100 100 100
omp_single_private         100 100 100 100
omp_single                 100 100 100 100
omp_test_lock             100 100 100 100
omp_test_nest_lock         100 100 100 100
omp_threadprivate         100 100 - -
omp_parallel_default       100 100 100 100
omp_parallel_shared       100 100 100 100
omp_parallel_private       100 100 100 100
omp_parallel_firstprivate 100 100 100 100
omp_parallel_if           100 100 100 100
omp_parallel_reduction     100 100 100 100
omp_for_collapse           100 100 100 100
omp_master_3               100 100 100 100
omp_task                   100 100 100 100
omp_task_if               100 100 100 100
omp_task_untied           0 - 0 -
omp_task_shared           100 100 100 100
omp_task_private           100 100 100 100
omp_task_firstprivate     100 100 100 100
omp_taskwait               100 100 100 100
omp_taskyield             100 100 10 -
omp_task_final             0 - 0 -


Summary:
S Number of tested Open MP constructs: 62
S Number of used tests:                123
S Number of failed tests:              7
S Number of successful tests:          116
S + from this were verified:           113

Normal tests:
N Number of failed tests:              3
N + from this fail compilation:        0
N + from this timed out                0
N Number of successful tests:          59
N + from this were verified:           58

Orphaned tests:
O Number of failed tests:              4
O + from this fail compilation:        0
O + from this timed out                0
O Number of successful tests:          57
O + from this were verified:           55

and for current llvm/cfe trunk with the two outstanding OPENMP patches
applied are...

#Tested Directive         t ct ot oct
has_openmp                 100 100 100 100
omp_atomic                 100 100 100 100
omp_barrier               100 100 100 100
omp_critical               100 100 100 95
omp_flush                 100 100 100 95
omp_for_firstprivate       100 100 100 100
omp_for_lastprivate       100 100 100 95
omp_for_ordered           100 100 100 100
omp_for_private           100 100 100 100
omp_for_reduction         0 - 0 -
omp_for_schedule_dynamic   100 100 100 100
omp_for_schedule_guided   100 100 100 100
omp_for_schedule_static   100 100 100 100
omp_for_nowait             100 100 100 100
omp_get_num_threads       100 100 100 100
omp_get_wtick             100 100 100 100
omp_get_wtime             100 100 100 100
omp_in_parallel           100 100 100 100
omp_lock                   100 100 100 100
omp_master                 100 100 100 100
omp_nest_lock             100 100 100 100
omp_parallel_copyin       100 100 100 100
omp_parallel_for_firstprivate 100 100 100 100
omp_parallel_for_lastprivate 100 100 100 100
omp_parallel_for_ordered   100 100 100 100
omp_parallel_for_private   100 100 100 100
omp_parallel_for_reduction 0 - 0 -
omp_parallel_num_threads   100 100 100 100
omp_parallel_sections_firstprivate 100 100 100 100
omp_parallel_sections_lastprivate 100 100 100 100
omp_parallel_sections_private 100 100 100 100
omp_parallel_sections_reduction 0 - 0 -
omp_section_firstprivate   100 100 100 100
omp_section_lastprivate   100 100 100 100
omp_section_private       100 100 100 100
omp_sections_reduction     0 - 0 -
omp_sections_nowait       100 100 100 100
omp_parallel_for_if       100 100 100 100
omp_single_copyprivate     100 100 100 100
omp_single_nowait         100 100 100 100
omp_single_private         100 100 100 100
omp_single                 100 100 100 100
omp_test_lock             100 100 100 100
omp_test_nest_lock         100 100 100 100
omp_threadprivate         100 100 - -
omp_parallel_default       100 100 100 100
omp_parallel_shared       100 100 100 100
omp_parallel_private       100 100 100 100
omp_parallel_firstprivate 100 100 100 100
omp_parallel_if           100 100 100 100
omp_parallel_reduction     0 - 0 -
omp_for_collapse           100 100 100 100
omp_master_3               100 100 100 100
omp_task                   100 100 100 100
omp_task_if               100 100 100 100
omp_task_untied           0 - 0 -
omp_task_shared           100 100 100 100
omp_task_private           100 100 100 100
omp_task_firstprivate     100 100 100 100
omp_taskwait               100 100 100 100
omp_taskyield             100 100 10 -
omp_task_final             0 - 0 -


Summary:
S Number of tested Open MP constructs: 62
S Number of used tests:                123
S Number of failed tests:              15
S Number of successful tests:          108
S + from this were verified:           105

Normal tests:
N Number of failed tests:              7
N + from this fail compilation:        0
N + from this timed out                0
N Number of successful tests:          55
N + from this were verified:           55

Orphaned tests:
O Number of failed tests:              8
O + from this fail compilation:        0
O + from this timed out                0
O Number of successful tests:          53
O + from this were verified:           50
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150430/bd3c4ea2/attachment.html>


More information about the cfe-dev mailing list