[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
Mon Aug 28 09:58:32 PDT 2023
jhuber6 updated this revision to Diff 553974.
jhuber6 added a comment.
Fix a bug that caused deadlocks if a different number of arguments were passed.
It's very important that the *same* warp / wave mask that opened the port
participates in the sending. So this changes it to always send a size of `0` if
it is not active.
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.553974.patch
Type: text/x-patch
Size: 31219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230828/d07df50d/attachment-0001.bin>
More information about the libc-commits
mailing list