11. API Usage Notes#

  • Check isConnected() after constructing cuObjServer.

  • Allocate a channel before handleGetObject(), handlePutObject(), or poll(). The default argument channel = 0 does not allocate channel 0.

  • Release registered buffers with deRegisterBuffer() after all operations using those buffers have completed.

  • Release buffer views from getRDMABufferFromSgList() with putRDMABufferFromSgList().

  • For asynchronous operations, wait for poll() completion before reusing or deregistering the buffer.

  • Use the CUOBJ_LOG_PATH_INFO, CUOBJ_LOG_PATH_DEBUG, and CUOBJ_LOG_PATH_ERROR flags with setTelemFlags().

  • Use cuObjRDMATunable setters to configure tunables before constructing cuObjServer with custom parameters.