diff options
author | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2021-02-08 12:29:29 -0500 |
---|---|---|
committer | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2021-03-01 16:31:40 -0500 |
commit | 5cf2a37f1255700d4da9d5f45e82bdfff09aee8c (patch) | |
tree | 7a903fea127625eb6ae5b8b4049c1fa5b90b071e /lldb/unittests/ScriptInterpreter/Python | |
parent | 154c47dc06b5b432f9d8a3e3773e0089099a43d8 (diff) | |
download | llvm-5cf2a37f1255700d4da9d5f45e82bdfff09aee8c.zip llvm-5cf2a37f1255700d4da9d5f45e82bdfff09aee8c.tar.gz llvm-5cf2a37f1255700d4da9d5f45e82bdfff09aee8c.tar.bz2 |
[HIP] Emit kernel symbol
Currently clang uses stub function to launch kernel. This is inconvenient
to interop with C++ programs since the stub function has different name
as kernel, which is required by ROCm debugger.
This patch emits a variable symbol which has the same name as the kernel
and uses it to register and launch the kernel. This allows C++ program to
launch a kernel by using the original kernel name.
Reviewed by: Artem Belevich
Differential Revision: https://reviews.llvm.org/D86376
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions