Method

ArrowCUDADeviceManagerget_context

Declaration [src]

GArrowCUDAContext*
garrow_cuda_device_manager_get_context (
  GArrowCUDADeviceManager* manager,
  gint gpu_number,
  GError** error
)

Description

No description available.
Available since:0.8.0

Parameters

gpu_number gint
 

A GPU device number for the target context.

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

Return value

Returns: GArrowCUDAContext
 

A newly created GArrowCUDAContext on success, NULL on error. Contexts for the same GPU device number share the same data internally.

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