cuda.core.WorkqueueResource#
- class cuda.core.WorkqueueResource(*args, **kwargs)#
Represent a workqueue resource for a device or green context.
Merges
CU_DEV_RESOURCE_TYPE_WORKQUEUE_CONFIGandCU_DEV_RESOURCE_TYPE_WORKQUEUEunder one user-facing type. Instances are returned byDeviceResources.workqueueand cannot be instantiated directly.Methods
- __init__(*args, **kwargs)#
- configure(self, options)#
Configure the workqueue resource in place.
- Parameters:
options (
WorkqueueResourceOptions) – Configuration options (sharing scope, etc.).
Attributes
- handle#
Return the address of the underlying config
CUdevResourcestruct.