diff options
author | Samuel Antao <sfantao@us.ibm.com> | 2016-09-30 15:34:19 +0000 |
---|---|---|
committer | Samuel Antao <sfantao@us.ibm.com> | 2016-09-30 15:34:19 +0000 |
commit | 64e965e4ee747f5ba27d17f06cfafd5abc7fddb9 (patch) | |
tree | a1b2bfad49f84097a1f621f74b51af5946d579c4 /lldb/packages/Python/lldbsuite/test/lang/objc/objc-runtime-ivars/TestRuntimeIvars.py | |
parent | 32312d0294c57a181ed7ba08431a644f11e1be6d (diff) | |
download | bcm5719-llvm-64e965e4ee747f5ba27d17f06cfafd5abc7fddb9.tar.gz bcm5719-llvm-64e965e4ee747f5ba27d17f06cfafd5abc7fddb9.zip |
[CUDA][OpenMP] Add a generic offload action builder
Summary:
This patch proposes a new class to generate and record action dependences related with offloading. The builder provides three main functionalities:
- Add device dependences to host actions.
- Add host dependence to device actions.
- Register device top-level actions.
The constructor of the builder detect the programming models that should be supported, and generates a specialized builder for each. If a new programming model is to be added in the future, only a new specialized builder has to be implemented.
When the specialized builder is generated, it produces programming-model-specific diagnostics.
A CUDA specialized builder is proposed in the patch that mostly consists of the partition of the current `buildCudaAction` by the three different functionalities.
Reviewers: tra, echristo, ABataev, jlebar, hfinkel
Subscribers: Hahnfeld, whchung, guansong, jlebar, mehdi_amini, andreybokhanko, tcramer, mkuron, cfe-commits, arpith-jacob, carlo.bertolli, caomhin
Differential Revision: https://reviews.llvm.org/D18172
llvm-svn: 282865
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/objc/objc-runtime-ivars/TestRuntimeIvars.py')
0 files changed, 0 insertions, 0 deletions