Skip to content
Unverified Commit 7ac8e26f authored by Joseph Huber's avatar Joseph Huber Committed by GitHub
Browse files

[libc] Implement `fseek`, `fflush`, and `ftell` on the GPU (#67160)

Summary:
This patch adds the necessary entrypoints to handle the `fseek`,
`fflush`, and `ftell` functions. These are all very straightfoward, we
simply make RPC calls to the associated function on the other end.
Implementing it this way allows us to more or less borrow the state of
the stream from the server as we intentionally maintain no internal
state on the GPU device. However, this does not implement the `errno`
functinality so that must be ignored.
parent 0b3f9d85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment