HomePhabricator

[OpenMP][libomptarget] Enable globalization for workers

Authored by gtbercea on Mar 21 2018, 1:34 PM.

Description

[OpenMP][libomptarget] Enable globalization for workers

Summary:
This patch allows worker to have a global memory stack managed by the runtime. This patch is needed for completeness and consistency with the globalization policy: if a worker-side variable escapes the current context it then needs to be globalized.
Until now, only the master thread was allowed to have such a stack. These global values can now potentially be shared amongst workers if the semantics of the OpenMP program require it.

Reviewers: ABataev, grokos, carlo.bertolli, caomhin

Reviewed By: grokos

Subscribers: guansong, openmp-commits

Differential Revision: https://reviews.llvm.org/D44487

llvm-svn: 328144

Details

Committed
gtberceaMar 21 2018, 1:34 PM
Reviewer
grokos
Differential Revision
D44487: [OpenMP][libomptarget] Enable globalization for workers
Parents
rG6ecc6e62c174: [llvm-objcopy] Implement support for section groups
Branches
Unknown
Tags
Unknown