diff options
| author | Fabian Mora <fmora.dev@gmail.com> | 2024-08-20 09:03:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-20 09:03:06 -0400 |
| commit | cfc76b6498a3c03268b3f319249afa4512d68e1c (patch) | |
| tree | fcf2a9843c9907fd703bd70ab3b861aac0164b2a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 5f3c0b23759faa80b0be59531f7e6643f9c95d32 (diff) | |
[llvm][offload] Move AMDGPU offload utilities to LLVM (#102487)
This patch moves utilities from
`offload/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h` to
`llvm/Frontend/Offloading/Utility.h` to be reused by
other projects.
Concretely the following changes were made:
- Rename `KernelMetaDataTy` to `AMDGPUKernelMetaData`.
- Remove unused fields `KernelObject`, `KernelSegmentSize`,
`ExplicitArgumentCount` and `ImplicitArgumentCount` from
`AMDGPUKernelMetaData`.
- Return the produced error if `ELFObj.sections()` failed instead of
using `cantFail`.
- Added `AGPRCount` field to `AMDGPUKernelMetaData`.
- Added a default invalid value to all the fields in
`AMDGPUKernelMetaData`.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
