Remote Procedure Calls

Remote Procedure Call Implementation

Certain features from the standard C library, such as allocation or printing, require support from the operating system. We instead implement a remote procedure call (RPC) interface to allow submitting work from the GPU to a host server that forwards it to the host system.


We describe which operation the RPC server should take with a 16-bit opcode. We consider the first 32768 numbers to be reserved while the others are free to use.