llvm-project/openmp/runtime/test/tasking
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
..
hidden_helper_task [OpenMP] Fixed a crash in hidden helper thread 2021-03-18 18:25:36 -04:00
bug_36720.c
bug_nested_proxy_task.c [openmp] Disable tests flaky on Debian 2020-04-01 21:58:05 -07:00
bug_proxy_task_dep_waiting.c [openmp] Disable tests flaky on Debian 2020-04-01 21:58:05 -07:00
bug_serial_taskgroup.c
bug_taskwait_detach.cpp [OpenMP] Fixed an issue that taskwait doesn't work on detachable task 2021-02-03 13:12:43 -05:00
kmp_detach_tasks_t1.c
kmp_detach_tasks_t2.c
kmp_detach_tasks_t3.c
kmp_task_modifier_simple_par_new.cpp [OpenMP] NFC: Fix trivial typo 2020-04-04 12:06:54 +09:00
kmp_task_modifier_simple_par_old.cpp [OpenMP] NFC: Fix trivial typo 2020-04-04 12:06:54 +09:00
kmp_task_modifier_simple_ws_new.cpp [OpenMP] NFC: Fix trivial typo 2020-04-04 12:06:54 +09:00
kmp_task_modifier_simple_ws_old.cpp [OpenMP] NFC: Fix trivial typo 2020-04-04 12:06:54 +09:00
kmp_task_reduction_nest.cpp
kmp_taskloop.c
kmp_taskloop_5.c [OpenMP] Add strict mode in num_tasks and grainsize 2020-12-09 16:46:30 -06:00
nested_parallel_tasking.c
nested_task_creation.c
omp50_task_depend_mtx.c
omp50_task_depend_mtx2.c
omp50_task_depend_mtx3.c [OpenMP] Introduce GOMP mutexinoutset in the runtime 2020-09-24 09:45:13 -05:00
omp50_taskwait_depend.c [OpenMP] Introduce GOMP taskwait depend in the runtime 2020-09-24 09:45:14 -05:00
omp_detach_taskwait.c [OpenMP][Tests] Flag compatibility of OpenMP runtime tests with GCC versions 2020-07-05 22:49:54 +02:00
omp_fill_taskqueue.c [OpenMP][Tests] fix data race in an OpenMP runtime test 2020-06-15 18:48:35 +02:00
omp_task.c
omp_task_depend_resize_hashmap.c [openmp] Disable tests flaky on Debian 2020-04-01 21:58:05 -07:00
omp_task_final.c
omp_task_firstprivate.c
omp_task_if.c
omp_task_imp_firstprivate.c
omp_task_priority.c
omp_task_private.c
omp_task_red_taskloop.c [OpenMP] Implement GOMP task reductions 2021-04-16 16:36:31 -05:00
omp_task_shared.c
omp_taskloop_grainsize.c [OpenMP] NFC: Fix trivial typos in comments 2020-01-03 22:03:42 -05:00
omp_taskloop_num_tasks.c [OpenMP] NFC: Fix trivial typos in comments 2020-01-03 22:03:42 -05:00
omp_taskloop_taskwait.c [openmp] Fixed taskloop recursive splitting so that taskloop tasks have 2020-06-01 17:51:02 +03:00
omp_taskwait.c
omp_taskyield.c
task_reduction1.c [OpenMP] Implement GOMP task reductions 2021-04-16 16:36:31 -05:00
task_reduction2.c [OpenMP] Implement GOMP task reductions 2021-04-16 16:36:31 -05:00
task_reduction3.c [OpenMP] Implement GOMP task reductions 2021-04-16 16:36:31 -05:00
task_reduction4.c [OpenMP] Implement GOMP task reductions 2021-04-16 16:36:31 -05:00
taskdep_if0.c [OpenMP] Fix if0 task with dependencies in the runtime 2020-09-24 09:47:53 -05:00
taskdep_if0_2.c [OpenMP] Fix if0 task with dependencies in the runtime 2020-09-24 09:47:53 -05:00