diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-06-30 07:59:24 -0400 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-07-11 15:49:23 -0400 |
commit | ce091eb3b91fc683513f47a565d68cf2799804c9 (patch) | |
tree | eb71d5991ec9296bb8333c4eb6aee105cd78ed28 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py | |
parent | e88d53d25f3b48204615195615da35e575081903 (diff) | |
download | llvm-ce091eb3b91fc683513f47a565d68cf2799804c9.zip llvm-ce091eb3b91fc683513f47a565d68cf2799804c9.tar.gz llvm-ce091eb3b91fc683513f47a565d68cf2799804c9.tar.bz2 |
[HIP] Add support for handling HIP in the linker wrapper
This patch adds the necessary changes required to bundle and wrap HIP
files. The bundling is done using `clang-offload-bundler` currently to
mimic `fatbinary` and the wrapping is done using very similar runtime
calls to CUDA. This still does not support managed / surface / texture
variables, that would require some additional information in the entry.
One difference in the codegeneration with AMD is that I don't check if
the handle is null before destructing it, I'm not sure if that's
required.
With this we should be able to support HIP with the new driver.
Depends on D128850
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D128914
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions