[Openmp-commits] [PATCH] D44487: [OpenMP][libomptarget] Enable globalization for workers

Gheorghe-Teodor Bercea via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Mar 14 11:43:54 PDT 2018

gtbercea created this revision.
gtbercea added reviewers: ABataev, grokos, carlo.bertolli, caomhin.
Herald added subscribers: openmp-commits, guansong.

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.

  rOMP OpenMP



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44487.138427.patch
Type: text/x-patch
Size: 5319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180314/e8c03747/attachment.bin>

More information about the Openmp-commits mailing list