Constructor
ArrowCUDABuffernew
Declaration [src]
GArrowCUDABuffer*
garrow_cuda_buffer_new (
GArrowCUDAContext* context,
gint64 size,
GError** error
)
Parameters
context |
GArrowCUDAContext |
A |
|
| 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 |
|
| The caller of the function takes ownership of the data, and is responsible for freeing it. |