|
Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5 |
|
| #
89d8e700 |
| 27-Nov-2024 |
Joseph Huber <huberjn@outlook.com> |
[libc] Export a pointer to the RPC client directly (#117913)
Summary: We currently have an unnecessary level of indirection when initializing the RPC client. This is a holdover from when the RPC cli
[libc] Export a pointer to the RPC client directly (#117913)
Summary: We currently have an unnecessary level of indirection when initializing the RPC client. This is a holdover from when the RPC client was not trivially copyable and simply makes it more complicated. Here we use the `asm` syntax to give the C++ variable a valid name so that we can just copy to it directly.
Another advantage to this, is that if users want to piggy-back on the same RPC interface they need only declare theirs as extern with the same symbol name, or make it weak to optionally use it if LIBC isn't avaialb.e
show more ...
|
| #
b4d49fb5 |
| 25-Nov-2024 |
Joseph Huber <huberjn@outlook.com> |
[libc] Remove RPC server API and use the header directly (#117075)
Summary: This patch removes much of the `llvmlibc_rpc_server` interface. This pretty much deletes all of this code and just replace
[libc] Remove RPC server API and use the header directly (#117075)
Summary: This patch removes much of the `llvmlibc_rpc_server` interface. This pretty much deletes all of this code and just replaces it with including `rpc.h` directly. We still maintain the file to let `libc` handle the opcodes, since those depend on the `printf` impelmentation.
This will need to be cleaned up more, but I don't want to put too much into a single patch.
show more ...
|
|
Revision tags: llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2 |
|
| #
ee57a685 |
| 07-Oct-2024 |
Joseph Huber <huberjn@outlook.com> |
[libc] Make a dedicated thread for the RPC server (#111210)
Summary: Make a separate thread to run the server when we launch. This is required by CUDA, which you can force with `export CUDA_LAUNCH_B
[libc] Make a dedicated thread for the RPC server (#111210)
Summary: Make a separate thread to run the server when we launch. This is required by CUDA, which you can force with `export CUDA_LAUNCH_BLOCKING=1`. I figured I might as well be consistent and do it for the AMD implementation as well even though I believe it's not necessary.
show more ...
|
|
Revision tags: llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3 |
|
| #
8c6a6f1a |
| 06-Aug-2024 |
Joseph Huber <huberjn@outlook.com> |
[libc] Make RPC malloc implementation return 'nullptr' on alloc failure
Summary: `malloc` is supposed to return `nullptr` if it fails, not exit with an error code.
|
|
Revision tags: llvmorg-19.1.0-rc2 |
|
| #
5e326983 |
| 01-Aug-2024 |
Joseph Huber <huberjn@outlook.com> |
[libc] Use LLVM CommandLine for loader tool (#101501)
Summary: This patch removes the ad-hoc parsing that I used previously and replaces it with the LLVM CommnadLine interface. This doesn't change a
[libc] Use LLVM CommandLine for loader tool (#101501)
Summary: This patch removes the ad-hoc parsing that I used previously and replaces it with the LLVM CommnadLine interface. This doesn't change any functionality, but makes it easier to maintain.
show more ...
|
| #
feeb8335 |
| 01-Aug-2024 |
Joseph Huber <huberjn@outlook.com> |
[libc] Change the GPU loaders to LLVM executables (#101442)
Summary: I am going to rework these tools to just me LLVM tools. This patch is pretty much NFC to set up the CMake for that.
|