Skip to content

Commit c275fdc

Browse files
authored
[libc][gpu][docs] Fix typos in GPU libc's documentation (#138565)
Fix typos in GPU libc's documentation about the rpc implementation.
1 parent c296b12 commit c275fdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libc/docs/gpu/rpc.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ operating system while executing on a GPU.
2020
We implemented remote procedure calls using unified virtual memory to create a
2121
shared communicate channel between the two processes. This memory is often
2222
pinned memory that can be accessed asynchronously and atomically by multiple
23-
processes simultaneously. This supports means that we can simply provide mutual
24-
exclusion on a shared better to swap work back and forth between the host system
23+
processes simultaneously. This support means that we can simply provide mutual
24+
exclusion on a shared buffer to swap work back and forth between the host system
2525
and the GPU. We can then use this to create a simple client-server protocol
2626
using this shared memory.
2727

@@ -39,7 +39,7 @@ In order to make this transmission channel thread-safe, we abstract ownership of
3939
the given mailbox pair and buffer around a port, effectively acting as a lock
4040
and an index into the allocated buffer slice. The server and device have
4141
independent locks around the given port. In this scheme, the buffer can be used
42-
to communicate intent and data generically with the server. We them simply
42+
to communicate intent and data generically with the server. We then simply
4343
provide multiple copies of this protocol and expose them as multiple ports.
4444

4545
If this were simply a standard CPU system, this would be sufficient. However,

0 commit comments

Comments
 (0)