cuda.bindings.cufile.buf_register#

cuda.bindings.cufile.buf_register(intptr_t buf_ptr_base, size_t length, int flags)#
register an existing cudaMalloced memory with cuFile to pin for GPUDirect Storage access or register host allocated memory with cuFile.

:param buf_ptr_base: buffer pointer allocated.
:type buf_ptr_base: intptr_t
:param length: size of memory region from the above specified bufPtr.
:type length: size_t
:param flags: CU_FILE_RDMA_REGISTER.
:type flags: int

.. seealso:: `cuFileBufRegister`