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