llvm-capstone/libc/utils
Joseph Huber 667c10353e [libc] Fix the implementation of exit on the GPU
The RPC calls all have delays associated with them. Currently the `exit`
function does an async send and immediately exits the GPU. This can have
the effect that the RPC server never sees the exit call and we continue.
This patch changes that to first sync with the server before continuing
to perform its exit. There is still a hazard here, where the kernel can
complete before the RPC call reads back its response, but this is simply
multi-threaded hazards. This change ensures that the server *will*
always exit some time after the GPU exits.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D154112
2023-06-29 13:22:23 -05:00
..
buildbot [libc] Add python3 to libc buildbot depedencies. 2020-12-17 08:59:13 -08:00
gpu [libc] Fix the implementation of exit on the GPU 2023-06-29 13:22:23 -05:00
HdrGen [libc][NFC] Clean up clang-tidy warnings for src/__support and src/math. 2023-03-15 18:47:31 -04:00
LibcTableGenUtil [libc] update LibcTableGenUtil for LLVM_LINK_LLVM_DYLIB 2023-03-11 09:15:06 -08:00
mathtools [libc] add options to printf decimal floats 2023-06-08 14:23:15 -07:00
MPFRWrapper [libc][math] Implement erff function correctly rounded to all rounding modes. 2023-06-28 13:58:37 -04:00
CMakeLists.txt [libc][NFC] Move RoundingModeUtils to LibcFPTestHelpers. 2023-04-18 18:37:30 +00:00