#[repr(C)]pub struct CUdevSmResource_st {
pub smCount: c_uint,
pub minSmPartitionSize: c_uint,
pub smCoscheduledAlignment: c_uint,
pub flags: c_uint,
pub localityDomainId: c_uint,
}Expand description
Data for SM-related resources All parameters in this structure are OUTPUT only. Do not write to any of the fields in this structure.
Fields§
§smCount: c_uintThe amount of streaming multiprocessors available in this resource.
minSmPartitionSize: c_uintThe minimum number of streaming multiprocessors required to partition this resource.
smCoscheduledAlignment: c_uintThe number of streaming multiprocessors in this resource that are guaranteed to be co-scheduled on the same GPU processing cluster.
smCount will be a multiple of this value, unless the backfill flag is set.
flags: c_uintThe flags set on this SM resource.
For possible values see CUdevSmResourceGroup_flags.
localityDomainId: c_uintLocality domain that the SM must be located on.
Only valid if CUdevSmResourceGroup_flags::CU_DEV_SM_RESOURCE_GROUP_LOCALITY_DOMAIN_ID is set in flags. If the backfill flag is set, SMs may be assigned from other locality domains.