Constructor

ArrowCUDABuffernew

Declaration [src]

GArrowCUDABuffer*
garrow_cuda_buffer_new (
  GArrowCUDAContext* context,
  gint64 size,
  GError** error
)

Description

No description available.
Available since:0.8.0

Parameters

context GArrowCUDAContext
 

A GArrowCUDAContext.

 The data is owned by the caller of the function.
size gint64
 

The number of bytes to be allocated on GPU device for this context.

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

Return value

Returns: GArrowCUDABuffer
 

A newly created GArrowCUDABuffer on success, NULL on error.

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