pub struct MegakernelGridRequest {
pub queue_len: u32,
pub requested_worker_groups: u32,
}Expand description
Logical work shape requested for a megakernel worker-grid recommendation.
Fields§
§queue_len: u32Logical ring slots or work items queued for this launch.
requested_worker_groups: u32Caller-requested worker workgroup ceiling. Zero means derive from occupancy.
Implementations§
Trait Implementations§
Source§impl Clone for MegakernelGridRequest
impl Clone for MegakernelGridRequest
Source§fn clone(&self) -> MegakernelGridRequest
fn clone(&self) -> MegakernelGridRequest
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 MegakernelGridRequest
Source§impl Debug for MegakernelGridRequest
impl Debug for MegakernelGridRequest
impl Eq for MegakernelGridRequest
Source§impl Hash for MegakernelGridRequest
impl Hash for MegakernelGridRequest
Source§impl PartialEq for MegakernelGridRequest
impl PartialEq for MegakernelGridRequest
Source§fn eq(&self, other: &MegakernelGridRequest) -> bool
fn eq(&self, other: &MegakernelGridRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MegakernelGridRequest
Auto Trait Implementations§
impl Freeze for MegakernelGridRequest
impl RefUnwindSafe for MegakernelGridRequest
impl Send for MegakernelGridRequest
impl Sync for MegakernelGridRequest
impl Unpin for MegakernelGridRequest
impl UnsafeUnpin for MegakernelGridRequest
impl UnwindSafe for MegakernelGridRequest
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.