cuda.bindings.cufile.write

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

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

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 write.

  • 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 write from.

See also

cuFileWrite