cuda.bindings.cufile.writev#
- cuda.bindings.cufile.writev(
- intptr_t fh,
- IOVec iov,
- off_t file_offset,
- unsigned int flags=0,
Write data to a registered file handle from a gather list of device or host buffers.
- Parameters:
fh (intptr_t) –
CUfileHandle_topaque 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 written on success.
- Return type:
ssize_t
See also
cuFileWritev