diff options
| author | Joseph Huber <huberjn@outlook.com> | 2025-10-08 10:50:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-08 10:50:19 -0500 |
| commit | 8c9c91f3918087a1a84e60ac807434d01a41d4c1 (patch) | |
| tree | 0a99ab6e8aebd136845908c2ba72d0278494cc70 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
| parent | 2690bb6db6ea583d402bb97ea44c5a1ff930ace7 (diff) | |
| download | llvm-8c9c91f3918087a1a84e60ac807434d01a41d4c1.zip llvm-8c9c91f3918087a1a84e60ac807434d01a41d4c1.tar.gz llvm-8c9c91f3918087a1a84e60ac807434d01a41d4c1.tar.bz2 | |
[libc] Make GPU `_end` kernel only call exit callbacks (#162371)
Summary:
We use the infrastructure to stand up a pretend hosted environment on
the GPU. Part of that is calling exit codes and handling the callback.
Exiting from inside a GPU region is problematic as it actually relies on
a lot of GPU magic behind the scenes. This is at least *correct* now as
we use `quick_exit` on the CPU when the GPU calls `exit`. However,
calling `quick_exit` will interfere with instrumentation or benchmarking
that expects a nice teardown order. For normal execution we should do
the friendly option and let the loader utility clean everything up
manually.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
