https://github.com/llvm/llvm-project/blob/e6a3d2de9257b133272a1aafc1572dde6a7d371e/libc/docs/gpu/rpc.rst
Traditionally, the C library abstracts over several functions that interface with the platform's operating system through system calls. The GPU however does not provide an operating system that can be queried to handle target dependent operations. Instead, we rely on remote procedure calls to interface with the host's operating system while executing on a GPU.
Traditionally, the C library abstracts over several functions that interface with the platform's operating system through system calls. The GPU however does not provide an operating system that can be queried to handle target dependent operations. Instead, we rely on remote procedure calls to interface with the host's operating system while executing on a GPU.