llvm-project/openmp/runtime/test
Peyton, Jonathan L 4457565757 [OpenMP] Implement GOMP task reductions
Implement the remaining GOMP_* functions to support task reductions
in taskgroup, parallel, loop, and taskloop constructs.  The unused mem
argument to many of the work-sharing constructs has to do with the
scan() directive/ inscan() modifier.  If mem is set, each function
will call KMP_FATAL() and tell the user scan/inscan is unsupported.  The
GOMP reduction implementation is kept separate from our implementation
because of how GOMP presents reduction data and computes the reductions.
GOMP expects the privatized copies to be present even after a #pragma
omp parallel reduction(task:...) region has ended so the data is stored
inside GOMP's uintptr_t* data pseudo-structure.  This style is tightly
coupled with GCC compiler codegen.  There also isn't any init(),
combiner(), fini() functions in GOMP's codegen so the two
implementations were to disparate to try to wrap GOMP's around our own.

Differential Revision: https://reviews.llvm.org/D98806
2021-04-16 16:36:31 -05:00
..
affinity [OpenMP] Allow affinity to re-detect for child processes 2021-04-16 16:34:02 -05:00
api [OpenMP] libomp: implement nteams-var and teams-thread-limit-var ICVs 2021-02-01 22:54:11 +03:00
atomic
barrier [OpenMP] Fix hierarchical barrier 2021-01-13 10:22:57 -06:00
critical
env [OpenMP] Limit number of dispatch buffers 2021-02-22 13:14:28 -06:00
flush Fix for bugzilla https://bugs.llvm.org/show_bug.cgi?id=39970 2018-12-13 10:04:10 +00:00
lock [OpenMP] NFC: Fix trivial typo 2020-04-04 12:06:54 +09:00
master
misc_bugs [OpenMP][Tests] Fix compiler warnings in OpenMP runtime tests 2020-11-11 20:13:21 +01:00
ompt [OpenMP] Fix printing routine for OMP_TOOL_VERBOSE_INIT 2021-04-14 07:55:26 -05:00
parallel [OpenMP 5.0] Add omp_get_supported_active_levels() 2019-02-19 18:51:11 +00:00
tasking [OpenMP] Implement GOMP task reductions 2021-04-16 16:36:31 -05:00
teams [OpenMP] NFC: fix test removing the target construct 2021-02-13 04:49:52 +03:00
threadprivate [OpenMP] NFC: Fix trivial typos in comments 2020-01-07 14:05:03 +08:00
worksharing [OpenMP] Fix potential integer overflow in dynamic schedule code 2021-03-08 09:43:05 -06:00
CMakeLists.txt [OpenMP][Tool] Extend reuse of OMPT testing 2020-06-14 15:55:32 +02:00
lit.cfg [OpenMP] Fix python3 compatibility in openmp's lit.cfg 2021-02-01 08:20:26 +01:00
lit.site.cfg.in [OpenMP] Add scaffolding for negative runtime tests 2020-04-21 17:10:50 -04:00
omp_my_sleep.h
omp_testsuite.h