cuda.bindings.cufile.readv#

cuda.bindings.cufile.readv(intptr_t fh, IOVec iov, off_t file_offset, unsigned int flags=0)#

Read data from a registered file handle into a scatter list of device or host buffers.

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

  • iov (IOVec) – scatter/gather descriptor array; each element specifies a base pointer (device or host) and a byte length.

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

  • flags (unsigned int) – reserved; must be 0.

Returns:

number of bytes read on success.

Return type:

ssize_t

See also

cuFileReadv