summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaOpenMP.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2018-04-18 19:23:54 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2018-04-18 19:23:54 +0000
commit27a677fc95c77d9cc31762bb1dd11da3173de8a1 (patch)
treef291ceb4d78c814c17a7de4d4af3545d26b4448c /clang/lib/Sema/SemaOpenMP.cpp
parent099c720426b2e54fc17c8fddc270ea9a8ca2e356 (diff)
downloadbcm5719-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 'clang/lib/Sema/SemaOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud