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_id

int:

min_sm_partition_size

int:

ptr

Get the pointer address to the data as Python int.

sm_coscheduled_alignment

int:

sm_count

int: