#[repr(C)]pub struct cudaDevWorkqueueConfigResource {
pub device: c_int,
pub wqConcurrencyLimit: c_uint,
pub sharingScope: cudaDevWorkqueueConfigScope,
}Expand description
Data for workqueue configuration related resources.
Fields§
§device: c_intThe device on which the workqueue resources are available.
wqConcurrencyLimit: c_uintThe expected maximum number of concurrent stream-ordered workloads.
sharingScope: cudaDevWorkqueueConfigScopeThe sharing scope for the workqueue resources.
Trait Implementations§
impl Copy for cudaDevWorkqueueConfigResource
impl Eq for cudaDevWorkqueueConfigResource
Source§impl Ord for cudaDevWorkqueueConfigResource
impl Ord for cudaDevWorkqueueConfigResource
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 cudaDevWorkqueueConfigResource
impl PartialOrd for cudaDevWorkqueueConfigResource
impl StructuralPartialEq for cudaDevWorkqueueConfigResource
Auto Trait Implementations§
impl Forget for cudaDevWorkqueueConfigResource
impl Freeze for cudaDevWorkqueueConfigResource
impl Move for cudaDevWorkqueueConfigResource
impl RefUnwindSafe for cudaDevWorkqueueConfigResource
impl Send for cudaDevWorkqueueConfigResource
impl Sync for cudaDevWorkqueueConfigResource
impl Unpin for cudaDevWorkqueueConfigResource
impl UnsafeUnpin for cudaDevWorkqueueConfigResource
impl UnwindSafe for cudaDevWorkqueueConfigResource
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