15. Constants and Limits#

15.1. Memory Limits#

#define CUOBJ_MAX_MEMORY_REG_SIZE (4ULL * 1024 * 1024 * 1024 - 64 * 1024)  // 4GiB - 64KiB
  • Maximum memory registration size: 4 GiB - 64 KiB per cuMemObjGetDescriptor() call.

15.2. Protocol Constants#

#define OBJ_RDMA_V1 "CUOBJ"
  • Protocol identifier string: "CUOBJ".

  • Default protocol: CUOBJ_PROTO_RDMA_DC_V1 with value 1001.

15.3. Operation Limits#

  • I/O operations are split into chunks if they exceed MaxRequestCallbackSize.

  • Each callback invocation receives a contiguous memory chunk.

  • cuMemObjGetMaxRequestCallbackSize() returns the maximum callback size for a memory pointer.