cuda.bindings._v2.driver.DevSmResourceGroupParams#

class cuda.bindings._v2.driver.DevSmResourceGroupParams(size=1)#

Empty-initialize an array of CU_DEV_SM_RESOURCE_GROUP_PARAMS. The resulting object is of length size and of dtype dev_sm_resource_group_params_dtype. If default-constructed, the instance represents a single struct.

Parameters:

size (int) – number of structs, default=1.

See also

CU_DEV_SM_RESOURCE_GROUP_PARAMS

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

Create an DevSmResourceGroupParams instance with the memory from the given buffer.

from_data(data)

Create an DevSmResourceGroupParams instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, size_t size=1, ...[, ...])

Create an DevSmResourceGroupParams instance wrapping the given pointer.

Attributes

coscheduled_sm_count

Union[~_numpy.uint32, int]:

flags_

Union[~_numpy.uint32, int]:

locality_domain_id

Union[~_numpy.uint32, int]:

preferred_coscheduled_sm_count

Union[~_numpy.uint32, int]:

ptr

Get the pointer address to the data as Python int.

sm_count

Union[~_numpy.uint32, int]: