cuda.bindings.cufile.read#

cuda.bindings.cufile.read(
intptr_t fh,
intptr_t buf_ptr_base,
size_t size,
off_t file_offset,
off_t buf_ptr_offset,
)#

read data from a registered file handle to a specified device or host memory.

Parameters:
  • fh (intptr_t) – CUfileHandle_t opaque file handle.

  • buf_ptr_base (intptr_t) – base address of buffer in device or host memory.

  • size (size_t) – size bytes to read.

  • file_offset (off_t) – file-offset from begining of the file.

  • buf_ptr_offset (off_t) – offset relative to the buf_ptr_base pointer to read into.

See also

cuFileRead