cuda.bindings._v2.driver.DevWorkqueueResource#
- class cuda.bindings._v2.driver.DevWorkqueueResource#
Empty-initialize an instance of CUdevWorkqueueResource.
See also
CUdevWorkqueueResource
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an DevWorkqueueResource instance with the memory from the given buffer.
from_data(data)Create an DevWorkqueueResource instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an DevWorkqueueResource instance wrapping the given pointer.
Attributes
ptrGet the pointer address to the data as Python
int.