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