summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>2018-03-13 19:44:53 +0000
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>2018-03-13 19:44:53 +0000
commit49b62649cf49dd2fa0db41995d0d8ef2abc99daa (patch)
tree6aa1125db0aafab3cdd5e0c18475039dd4fe3e59 /llvm/lib/CodeGen/MachineInstr.cpp
parent148046c11b15abc7ba8cfa4ab0ee4c76733c1a3f (diff)
downloadbcm5719-llvm-49b62649cf49dd2fa0db41995d0d8ef2abc99daa.tar.gz
bcm5719-llvm-49b62649cf49dd2fa0db41995d0d8ef2abc99daa.zip
[OpenMP][libomptarget] Add global memory data sharing support for master-worker sharing.
Summary: This patch adds support for the sharing of variables from the master thread of a team to the worker threads of the team. The runtime uses a stack structure implemented as a doubly-linked list of slots with each slot having the exact same size as the size requested. This implementation leverages existing data structures. The runtime functions are added as separate functions to avoid interfering with the current interface. Limitations to be addressed in future patches: - This current patch only employs global memory. In a future patch we will enable to usage for shared memory as an optimization. - Allow the allocation of several requested sizes in the same slot. Reviewers: ABataev, grokos, caomhin, carlo.bertolli Reviewed By: grokos Subscribers: Hahnfeld, guansong, openmp-commits Differential Revision: https://reviews.llvm.org/D44260 llvm-svn: 327440
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud