Constructor
ArrowCUDAHostBuffernew
Declaration [src]
GArrowCUDAHostBuffer*
garrow_cuda_host_buffer_new (
gint gpu_number,
gint64 size,
GError** error
)
Parameters
gpu_number |
gint |
A GPU device number for the target context. |
|
size |
gint64 |
The number of bytes to be allocated on CPU host. |
|
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | GArrowCUDAHostBuffer |
A newly created |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |