#[repr(transparent)]pub struct CUdevSmResourceSplitByCount_flags(pub c_uint);Expand description
Flags controlling SM-resource partition granularity and supported thread-block cluster sizes.
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUdevSmResourceSplitByCount_flags
impl CUdevSmResourceSplitByCount_flags
Sourcepub const CU_DEV_SM_RESOURCE_SPLIT_IGNORE_SM_COSCHEDULING: CUdevSmResourceSplitByCount_flags
pub const CU_DEV_SM_RESOURCE_SPLIT_IGNORE_SM_COSCHEDULING: CUdevSmResourceSplitByCount_flags
Lower the minimum SM count and alignment, and treat each SM independent of its hierarchy. This allows more fine grained partitions but at the cost of advanced features (such as large clusters on compute capability 9.0+).
Sourcepub const CU_DEV_SM_RESOURCE_SPLIT_MAX_POTENTIAL_CLUSTER_SIZE: CUdevSmResourceSplitByCount_flags
pub const CU_DEV_SM_RESOURCE_SPLIT_MAX_POTENTIAL_CLUSTER_SIZE: CUdevSmResourceSplitByCount_flags
Compute Capability 9.0+ only. Attempt to create groups that may allow for maximally sized thread clusters. This can be queried post green context creation using cuOccupancyMaxPotentialClusterSize.
Trait Implementations§
impl Copy for CUdevSmResourceSplitByCount_flags
impl Eq for CUdevSmResourceSplitByCount_flags
Source§impl Ord for CUdevSmResourceSplitByCount_flags
impl Ord for CUdevSmResourceSplitByCount_flags
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 CUdevSmResourceSplitByCount_flags
impl PartialOrd for CUdevSmResourceSplitByCount_flags
impl StructuralPartialEq for CUdevSmResourceSplitByCount_flags
Auto Trait Implementations§
impl Forget for CUdevSmResourceSplitByCount_flags
impl Freeze for CUdevSmResourceSplitByCount_flags
impl Move for CUdevSmResourceSplitByCount_flags
impl RefUnwindSafe for CUdevSmResourceSplitByCount_flags
impl Send for CUdevSmResourceSplitByCount_flags
impl Sync for CUdevSmResourceSplitByCount_flags
impl Unpin for CUdevSmResourceSplitByCount_flags
impl UnsafeUnpin for CUdevSmResourceSplitByCount_flags
impl UnwindSafe for CUdevSmResourceSplitByCount_flags
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