cugraph_service_client.client.DeviceArrayAllocator#

class cugraph_service_client.client.DeviceArrayAllocator(device)[source]#

This class is used to create a callable instance for allocating a cupy array on a specific device. It is constructed with a particular device number, and can be called repeatedly with the number of bytes to allocate, returning an array of the requested size on the device.

Methods

__call__(nbytes)

Call self as a function.

__init__(device)[source]#

Methods

__init__(device)