aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorJoseph Huber <35342157+jhuber6@users.noreply.github.com>2023-09-14 15:39:29 -0500
committerGitHub <noreply@github.com>2023-09-14 15:39:29 -0500
commita1be5d69dff0ff9bdf0329370a3ce724bcd25ed2 (patch)
tree4d6c93caba191693578233d95392351a7d9f9409 /llvm/docs/tutorial
parent96ccc81fb8bbe6a545d52c79cc66ae614241b0a4 (diff)
downloadllvm-a1be5d69dff0ff9bdf0329370a3ce724bcd25ed2.zip
llvm-a1be5d69dff0ff9bdf0329370a3ce724bcd25ed2.tar.gz
llvm-a1be5d69dff0ff9bdf0329370a3ce724bcd25ed2.tar.bz2
[libc] Implement more input functions on the GPU (#66288)
Summary: This patch implements the `fgets`, `getc`, `fgetc`, and `getchar` functions on the GPU. Their implementations are straightforward enough. One thing worth noting is that the implementation of `fgets` will be extremely slow due to the high latency to read a single char. A faster solution would be to make a new RPC call to call `fgets` (due to the special rule that newline or null breaks the stream). But this is left out because performance isn't the primary concern here.
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions