pub type cudaDevSmResourceGroupParams = cudaDevSmResourceGroupParams_st;Expand description
Input data for splitting SMs.
Aliased Type§
#[repr(C)]pub struct cudaDevSmResourceGroupParams {
pub smCount: u32,
pub coscheduledSmCount: u32,
pub preferredCoscheduledSmCount: u32,
pub flags: u32,
pub localityDomainId: u32,
pub reserved: [u32; 11],
}Fields§
§smCount: u32The amount of SMs available in this resource.
coscheduledSmCount: u32The amount of co-scheduled SMs grouped together for locality purposes.
preferredCoscheduledSmCount: u32When possible, combine co-scheduled groups together into larger groups of this size.
flags: u32Combination of cudaDevSmResourceGroup_flags values to indicate this this group is created.
localityDomainId: u32Locality domain that the SM must be located on.
Only valid if cudaDevSmResourceGroupLocalityDomainId is set in flags.
reserved: [u32; 11]Reserved storage in the native ABI.