pub struct DeviceWorkQueueExpansionProfile {
pub initial_items: u64,
pub expansion_items: u64,
pub entry_bytes: u64,
pub control_bytes: u64,
pub budget_bytes: u64,
pub host_sync: WorkQueueHostSync,
}Expand description
Work queue profile where a resident queue should reserve device-side expansion headroom in addition to the initial frontier.
Fields§
§initial_items: u64Initial active work items enqueued before launch.
expansion_items: u64Additional device-produced work items the queue should absorb when the explicit queue budget leaves enough room.
entry_bytes: u64ABI bytes per queue entry.
control_bytes: u64Bytes required for queue head/tail counters and changed flags.
budget_bytes: u64Caller-approved device-memory budget for the resident queue.
host_sync: WorkQueueHostSyncHost synchronization policy.
Trait Implementations§
Source§impl Clone for DeviceWorkQueueExpansionProfile
impl Clone for DeviceWorkQueueExpansionProfile
Source§fn clone(&self) -> DeviceWorkQueueExpansionProfile
fn clone(&self) -> DeviceWorkQueueExpansionProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeviceWorkQueueExpansionProfile
impl Eq for DeviceWorkQueueExpansionProfile
Source§impl PartialEq for DeviceWorkQueueExpansionProfile
impl PartialEq for DeviceWorkQueueExpansionProfile
Source§fn eq(&self, other: &DeviceWorkQueueExpansionProfile) -> bool
fn eq(&self, other: &DeviceWorkQueueExpansionProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceWorkQueueExpansionProfile
Auto Trait Implementations§
impl Freeze for DeviceWorkQueueExpansionProfile
impl RefUnwindSafe for DeviceWorkQueueExpansionProfile
impl Send for DeviceWorkQueueExpansionProfile
impl Sync for DeviceWorkQueueExpansionProfile
impl Unpin for DeviceWorkQueueExpansionProfile
impl UnsafeUnpin for DeviceWorkQueueExpansionProfile
impl UnwindSafe for DeviceWorkQueueExpansionProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.