HomePhabricator

Introduce GOMP_taskloop API

Description

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

Details

Committed
jlpeytonApr 18 2018, 12:23 PM
Differential Revision
D45327: Introduce GOMP_taskloop API
Branches
Unknown
Tags
Unknown