diff options
| author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-02-01 11:46:20 -0500 |
|---|---|---|
| committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-02-01 13:49:31 -0500 |
| commit | 53d5757ea257bca05e049bc0d70abf4820899c56 (patch) | |
| tree | de6e07060db0533060f8e2d4e5be3e598f616d45 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
| parent | 3e951808d53895a376a71e5cb0d36bc836bbfc8d (diff) | |
| download | llvm-53d5757ea257bca05e049bc0d70abf4820899c56.zip llvm-53d5757ea257bca05e049bc0d70abf4820899c56.tar.gz llvm-53d5757ea257bca05e049bc0d70abf4820899c56.tar.bz2 | |
[OpenMP] Add kernel string attribute to kernel function
This patch adds a function attribute to the kernel function generated in
OpenMP offloading. We already create a `nvvm.annotations` metadata node
indicating the kernels present in the program. However, this created
some indirection when trying to identify if a specific function was an
entry. We add a single function attribute for each function now to
simplify this.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D118708
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
