Joseph Huber
a1be5d69df
[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.
2023-09-14 15:39:29 -05:00
..
2022-10-10 18:28:43 +00:00
2022-10-06 19:50:23 +00:00
2022-10-06 19:50:23 +00:00
2022-10-06 15:19:43 -07:00
2022-10-31 16:55:53 +00:00
2023-07-03 01:08:15 +01:00
2022-09-28 06:54:48 +00:00
2022-08-12 05:28:40 +00:00
2023-06-12 11:12:17 -07:00
2022-09-21 18:35:02 +00:00
2022-09-21 18:35:02 +00:00
2022-10-18 20:53:00 +00:00
2022-10-25 18:06:05 +00:00
2022-09-29 10:23:21 -07:00
2023-06-15 11:02:24 -05:00
2022-09-29 20:31:46 +00:00
2022-09-21 18:35:02 +00:00
2022-10-22 03:17:48 +00:00
2023-04-27 20:31:58 -05:00
2022-09-21 18:35:02 +00:00
2022-09-21 18:35:02 +00:00
2023-03-24 16:16:31 -03:00
2022-09-21 18:35:02 +00:00
2023-07-03 01:08:15 +01:00
2022-09-21 18:41:20 +00:00
2022-10-11 04:54:44 +00:00
2022-10-13 18:47:47 +00:00
2022-08-12 05:28:40 +00:00
2023-07-03 01:08:15 +01:00
2023-09-07 16:02:32 -03:00
2023-09-14 15:39:29 -05:00
2023-05-03 11:01:11 -07:00
2022-11-02 07:17:33 +00:00
2022-09-30 07:31:50 +00:00
2022-09-30 07:31:50 +00:00
2023-03-20 16:36:21 -07:00
2022-10-18 20:53:00 +00:00
2022-10-18 22:04:30 +00:00
2023-07-03 01:08:15 +01:00
2022-09-16 21:07:17 +00:00
2022-10-05 07:38:55 +00:00
2023-04-20 14:53:41 -05:00
2022-09-30 07:31:50 +00:00
2023-05-03 11:01:11 -07:00
2022-09-21 18:35:02 +00:00
2022-10-18 20:53:00 +00:00
2022-09-24 00:13:58 +00:00
2022-10-05 07:38:55 +00:00
2023-08-14 01:56:32 +01:00
2022-10-05 07:38:55 +00:00
2022-10-18 20:53:00 +00:00
2023-07-21 15:36:36 -05:00
2023-09-13 10:49:39 -03:00
2022-08-12 05:28:40 +00:00
2022-08-12 05:28:40 +00:00
2022-09-21 18:35:02 +00:00
2022-09-30 07:31:50 +00:00
2023-03-20 16:36:21 -07:00
2023-03-20 16:36:21 -07:00