#[repr(transparent)]pub struct CUclusterSchedulingPolicy_enum(pub c_uint);
Expand description
Cluster scheduling policies. These may be passed to ::cuFuncSetAttribute or ::cuKernelSetAttribute
Tuple Fields§
§0: c_uint
Implementations§
Source§impl CUclusterSchedulingPolicy_enum
impl CUclusterSchedulingPolicy_enum
Sourcepub const CU_CLUSTER_SCHEDULING_POLICY_DEFAULT: CUclusterSchedulingPolicy_enum
pub const CU_CLUSTER_SCHEDULING_POLICY_DEFAULT: CUclusterSchedulingPolicy_enum
< the default policy
Source§impl CUclusterSchedulingPolicy_enum
impl CUclusterSchedulingPolicy_enum
Sourcepub const CU_CLUSTER_SCHEDULING_POLICY_SPREAD: CUclusterSchedulingPolicy_enum
pub const CU_CLUSTER_SCHEDULING_POLICY_SPREAD: CUclusterSchedulingPolicy_enum
< spread the blocks within a cluster to the SMs
Source§impl CUclusterSchedulingPolicy_enum
impl CUclusterSchedulingPolicy_enum
Sourcepub const CU_CLUSTER_SCHEDULING_POLICY_LOAD_BALANCING: CUclusterSchedulingPolicy_enum
pub const CU_CLUSTER_SCHEDULING_POLICY_LOAD_BALANCING: CUclusterSchedulingPolicy_enum
< allow the hardware to load-balance the blocks in a cluster to the SMs
Trait Implementations§
Source§impl Clone for CUclusterSchedulingPolicy_enum
impl Clone for CUclusterSchedulingPolicy_enum
Source§fn clone(&self) -> CUclusterSchedulingPolicy_enum
fn clone(&self) -> CUclusterSchedulingPolicy_enum
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for CUclusterSchedulingPolicy_enum
impl PartialEq for CUclusterSchedulingPolicy_enum
Source§fn eq(&self, other: &CUclusterSchedulingPolicy_enum) -> bool
fn eq(&self, other: &CUclusterSchedulingPolicy_enum) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for CUclusterSchedulingPolicy_enum
impl Eq for CUclusterSchedulingPolicy_enum
impl StructuralPartialEq for CUclusterSchedulingPolicy_enum
Auto Trait Implementations§
impl Freeze for CUclusterSchedulingPolicy_enum
impl RefUnwindSafe for CUclusterSchedulingPolicy_enum
impl Send for CUclusterSchedulingPolicy_enum
impl Sync for CUclusterSchedulingPolicy_enum
impl Unpin for CUclusterSchedulingPolicy_enum
impl UnwindSafe for CUclusterSchedulingPolicy_enum
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