1. Architecture#

cuObjClient follows a callback-based architecture:

  1. The user application creates a cuObjClient instance with callback operations.

  2. Memory registration through cuMemObjGetDescriptor() prepares system memory or CUDA device memory buffers for RDMA.

  3. I/O operations, such as cuObjGet() and cuObjPut(), trigger callbacks with RDMA information.

  4. Callbacks handle the data transfer logic and communication with the server.

  5. Cleanup through cuMemObjPutDescriptor() deregisters memory.