Method

ArrowCUDABuffercopy_to_host

Declaration [src]

GBytes*
garrow_cuda_buffer_copy_to_host (
  GArrowCUDABuffer* buffer,
  gint64 position,
  gint64 size,
  GError** error
)

Description

No description available.
Available since:0.8.0

Parameters

position gint64
 

The offset of memory on GPU device to be copied.

size gint64
 

The size of memory on GPU device to be copied in bytes.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GBytes
 

A GBytes that have copied memory on CPU host on success, NULL on error.

 The caller of the method takes ownership of the data, and is responsible for freeing it.