diff options
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2022-05-20 08:50:36 +0100 |
---|---|---|
committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2022-05-20 08:50:37 +0100 |
commit | 83c431fb9e72abbd2eddf26388245eb4963370e2 (patch) | |
tree | 4d015861fd379cf1fe3a1023ad42b57c9f0802a9 /lldb/test/Shell/ScriptInterpreter/Python/eof.test | |
parent | 5537b22ccbdc562929949844f9f816cf720e5205 (diff) | |
download | llvm-83c431fb9e72abbd2eddf26388245eb4963370e2.zip llvm-83c431fb9e72abbd2eddf26388245eb4963370e2.tar.gz llvm-83c431fb9e72abbd2eddf26388245eb4963370e2.tar.bz2 |
[amdgpu] Add amdgpu_kernel calling conv attribute to clang
Allows emitting define amdgpu_kernel void @func() IR from C or C++.
This replaces the current workflow which is to write a stub in opencl that
calls an external C function implemented in C++ combined through llvm-link.
Calling the resulting function still requires a manual implementation of the
ABI from the host side. The primary application is for more rapid debugging
of the amdgpu backend by permuting a C or C++ test file instead of manually
updating an IR file.
Implementation closely follows D54425. Non-amd reviewers from there.
Reviewed By: yaxunl
Differential Revision: https://reviews.llvm.org/D125970
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python/eof.test')
0 files changed, 0 insertions, 0 deletions