diff options
| author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2018-04-18 19:23:54 +0000 |
|---|---|---|
| committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2018-04-18 19:23:54 +0000 |
| commit | 27a677fc95c77d9cc31762bb1dd11da3173de8a1 (patch) | |
| tree | f291ceb4d78c814c17a7de4d4af3545d26b4448c /openmp/runtime/test/tasking/omp_taskloop_num_tasks.c | |
| parent | 099c720426b2e54fc17c8fddc270ea9a8ca2e356 (diff) | |
| download | bcm5719-llvm-27a677fc95c77d9cc31762bb1dd11da3173de8a1.tar.gz bcm5719-llvm-27a677fc95c77d9cc31762bb1dd11da3173de8a1.zip | |
Introduce GOMP_taskloop API
This patch introduces GOMP_taskloop to our API. It adds GOMP_4.5 to our
version symbols. Being a wrapper around __kmpc_taskloop, the function
creates a task with the loop bounds properly nested in the shareds so that
the GOMP task thunk will work properly. Also, the firstprivate copy constructors
are properly handled using the __kmp_gomp_task_dup() auxiliary function.
Currently, only linear spawning of tasks is supported
for the GOMP_taskloop interface.
Differential Revision: https://reviews.llvm.org/D45327
llvm-svn: 330282
Diffstat (limited to 'openmp/runtime/test/tasking/omp_taskloop_num_tasks.c')
| -rw-r--r-- | openmp/runtime/test/tasking/omp_taskloop_num_tasks.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/openmp/runtime/test/tasking/omp_taskloop_num_tasks.c b/openmp/runtime/test/tasking/omp_taskloop_num_tasks.c index ba464605ed6..2a932e3668a 100644 --- a/openmp/runtime/test/tasking/omp_taskloop_num_tasks.c +++ b/openmp/runtime/test/tasking/omp_taskloop_num_tasks.c @@ -1,7 +1,5 @@ // RUN: %libomp-compile-and-run // RUN: %libomp-compile && env KMP_TASKLOOP_MIN_TASKS=1 %libomp-run -// UNSUPPORTED: gcc -// We do not yet have the GOMP interface for taskloop /* * Test for taskloop * Method: caculate how many times the iteration space is dispatched |

