#[repr(transparent)]pub struct CUdevWorkqueueConfigScope(pub c_uint);Expand description
Sharing scope for workqueues.
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUdevWorkqueueConfigScope
impl CUdevWorkqueueConfigScope
Sourcepub const CU_WORKQUEUE_SCOPE_DEVICE_CTX: CUdevWorkqueueConfigScope
pub const CU_WORKQUEUE_SCOPE_DEVICE_CTX: CUdevWorkqueueConfigScope
Use all shared workqueue resources across all contexts.
Default driver behavior.
Sourcepub const CU_WORKQUEUE_SCOPE_GREEN_CTX_BALANCED: CUdevWorkqueueConfigScope
pub const CU_WORKQUEUE_SCOPE_GREEN_CTX_BALANCED: CUdevWorkqueueConfigScope
When possible, use non-overlapping workqueue resources with other balanced green contexts.
Trait Implementations§
Source§impl Clone for CUdevWorkqueueConfigScope
impl Clone for CUdevWorkqueueConfigScope
impl Copy for CUdevWorkqueueConfigScope
Source§impl Debug for CUdevWorkqueueConfigScope
impl Debug for CUdevWorkqueueConfigScope
impl Eq for CUdevWorkqueueConfigScope
Source§impl Hash for CUdevWorkqueueConfigScope
impl Hash for CUdevWorkqueueConfigScope
Source§impl Ord for CUdevWorkqueueConfigScope
impl Ord for CUdevWorkqueueConfigScope
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 CUdevWorkqueueConfigScope
impl PartialOrd for CUdevWorkqueueConfigScope
impl StructuralPartialEq for CUdevWorkqueueConfigScope
Auto Trait Implementations§
impl Forget for CUdevWorkqueueConfigScope
impl Freeze for CUdevWorkqueueConfigScope
impl Move for CUdevWorkqueueConfigScope
impl RefUnwindSafe for CUdevWorkqueueConfigScope
impl Send for CUdevWorkqueueConfigScope
impl Sync for CUdevWorkqueueConfigScope
impl Unpin for CUdevWorkqueueConfigScope
impl UnsafeUnpin for CUdevWorkqueueConfigScope
impl UnwindSafe for CUdevWorkqueueConfigScope
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