#[repr(C)]pub struct cudaDevSmResourceGroupParams_st {
pub smCount: c_uint,
pub coscheduledSmCount: c_uint,
pub preferredCoscheduledSmCount: c_uint,
pub flags: c_uint,
pub localityDomainId: c_uint,
pub reserved: [c_uint; 11],
}Expand description
Input data for splitting SMs.
Fields§
§smCount: c_uintThe amount of SMs available in this resource.
coscheduledSmCount: c_uintThe amount of co-scheduled SMs grouped together for locality purposes.
preferredCoscheduledSmCount: c_uintWhen possible, combine co-scheduled groups together into larger groups of this size.
flags: c_uintCombination of cudaDevSmResourceGroup_flags values to indicate this this group is created.
localityDomainId: c_uintLocality domain that the SM must be located on.
Only valid if cudaDevSmResourceGroupLocalityDomainId is set in flags.
reserved: [c_uint; 11]Reserved storage in the native ABI.
Trait Implementations§
impl Copy for cudaDevSmResourceGroupParams_st
impl Eq for cudaDevSmResourceGroupParams_st
Source§impl Ord for cudaDevSmResourceGroupParams_st
impl Ord for cudaDevSmResourceGroupParams_st
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for cudaDevSmResourceGroupParams_st
impl PartialOrd for cudaDevSmResourceGroupParams_st
impl StructuralPartialEq for cudaDevSmResourceGroupParams_st
Auto Trait Implementations§
impl Forget for cudaDevSmResourceGroupParams_st
impl Freeze for cudaDevSmResourceGroupParams_st
impl Move for cudaDevSmResourceGroupParams_st
impl RefUnwindSafe for cudaDevSmResourceGroupParams_st
impl Send for cudaDevSmResourceGroupParams_st
impl Sync for cudaDevSmResourceGroupParams_st
impl Unpin for cudaDevSmResourceGroupParams_st
impl UnsafeUnpin for cudaDevSmResourceGroupParams_st
impl UnwindSafe for cudaDevSmResourceGroupParams_st
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more