[libc-commits] [PATCH] D158774: [libc] Add GPU support for `printf` and `fprintf`
Joseph Huber via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Aug 25 07:35:44 PDT 2023
jhuber6 updated this revision to Diff 553470.
jhuber6 added a comment.
Some small updates. I verified the implementation on an Nvidia sm_70 and noted
functionality. The test as written does not work because for some reason it
seems that the Nvidia loader cannot call RPC functions inside of the
constructor. Unsure why, I'll either work around it or fix it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158774/new/
https://reviews.llvm.org/D158774
Files:
libc/config/gpu/entrypoints.txt
libc/include/llvm-libc-types/rpc_opcodes_t.h
libc/src/__support/arg_list.h
libc/src/stdio/CMakeLists.txt
libc/src/stdio/fprintf.cpp
libc/src/stdio/generic/CMakeLists.txt
libc/src/stdio/generic/fprintf.cpp
libc/src/stdio/generic/printf.cpp
libc/src/stdio/generic/vfprintf.cpp
libc/src/stdio/generic/vprintf.cpp
libc/src/stdio/gpu/CMakeLists.txt
libc/src/stdio/gpu/file.h
libc/src/stdio/gpu/fprintf.cpp
libc/src/stdio/gpu/parser.h
libc/src/stdio/gpu/printf.cpp
libc/src/stdio/gpu/printf_impl.h
libc/src/stdio/printf.cpp
libc/src/stdio/printf_core/parser.h
libc/src/stdio/vfprintf.cpp
libc/src/stdio/vprintf.cpp
libc/test/integration/startup/gpu/CMakeLists.txt
libc/test/integration/startup/gpu/rpc_printf_test.cpp
libc/test/src/stdio/CMakeLists.txt
libc/utils/gpu/server/CMakeLists.txt
libc/utils/gpu/server/rpc_server.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158774.553470.patch
Type: text/x-patch
Size: 31193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230825/9fd467fc/attachment-0001.bin>
More information about the libc-commits
mailing list