Constructor

ArrowCUDAIPCMemoryHandlenew

Declaration [src]

GArrowCUDAIPCMemoryHandle*
garrow_cuda_ipc_memory_handle_new (
  const guint8* data,
  gsize size,
  GError** error
)

Description

No description available.
Available since:0.8.0

Parameters

data An array of guint8
 

A serialized GArrowCUDAIPCMemoryHandle.

 The length of the array is specified in the size argument.
 The data is owned by the caller of the function.
size gsize
 

The size of data.

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

Return value

Returns: GArrowCUDAIPCMemoryHandle
 

A newly created GArrowCUDAIPCMemoryHandle on success, NULL on error.

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