[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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5319 bytes
Desc: not available
More information about the Openmp-commits