https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69046
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Regarding the testsuite mentioned here. It is at:
http://web.archive.org/web/20160715000000*/http://web.cs.uh.edu/~openuh/download/packages/OpenMP3.1_Validation.tar.gz
And before running, all *.pl shebang require an addition of '-I.' as perl
argument to find the *.pm perl modules.
* * *
Just dumping the result below.
I do note that 'omp_task_untied' fails with GCC but
not with llvm/Clang. The test checks whether a task has
at least once switched the thread - with clang, it
is 12 to 18 times the same thread - with num_tasks 25;
with GCC it is always the same thread, i.e. no task
switched.
And for 'task_final', the testcase looks bogus.
Except for, possibly, untied or checking why some (but only)
'orphaned' testcases fail in Fortran, nothing seems to be done here.
* * *
Test results with clang-14:
Testing for "omp_taskyield":
+ orphaned mode:
Running test with 8 threads ..... failed 85% of the tests
Testing for "omp_task_final":
Running test with 8 threads ..... failed 100% of the tests
+ orphaned mode:
Running test with 8 threads ..... failed 100% of the tests
Result with GCC mainline:
Testing for "omp_task_untied":
Running test with 8 threads ..... failed 100% of the tests
+ orphaned mode:
Running test with 8 threads ..... failed 100% of the tests
Testing for "omp_taskyield":
+ orphaned mode:
Running test with 8 threads ..... failed 90% of the tests
Testing for "omp_task_final":
Running test with 8 threads ..... failed 100% of the tests
+ orphaned mode:
Running test with 8 threads ..... failed 100% of the tests
Result for gfortran/mainline:
Testing for "do_firstprivate":
+ orphaned mode:
Running test with 8 threads ..... failed 100% of the tests
Testing for "do_private":
+ orphaned mode:
Running test with 8 threads ..... failed 100% of the tests
Testing for "do_schedule_static":
+ orphaned mode:
Running test with 8 threads ..... failed 100% of the tests
Testing for "omp_get_num_threads":
+ orphaned mode:
Running test with 8 threads ..... failed 100% of the tests
bin/fortran/orph_test_omp_in_parallel.f:108:15
108 | serial=omp_in_parallel()
| 1
Error: Cannot convert REAL(4) to LOGICAL(4) at (1)
(implicit typing seemingly gets it wrong - a 'use omp_lib' would also have
worked.)
Testing for "omp_master":
+ orphaned mode:
Running test with 8 threads ..... failed 100% of the tests
Testing for "omp_num_threads":
+ orphaned mode:
Running test with 8 threads ..... failed 100% of the tests
Testing for "par_do_ordered":
+ orphaned mode:
Running test with 8 threads ..... failed 100% of the tests
Testing for "omp_master_3":
+ orphaned mode:
Running test with 8 threads ..... failed 100% of the tests
Testing for "omp_task_untied":
+ orphaned mode:
Running test with 8 threads ..... failed 100% of the tests