pub struct MegakernelGridLimits {
pub max_workgroup_size_x: u32,
pub max_compute_workgroups_per_dimension: u32,
pub max_compute_invocations_per_workgroup: u32,
}Expand description
Adapter limits that bound a megakernel worker-grid recommendation.
Fields§
§max_workgroup_size_x: u32Adapter maximum workgroup size in the x dimension.
max_compute_workgroups_per_dimension: u32Adapter maximum compute workgroups per dimension.
max_compute_invocations_per_workgroup: u32Adapter maximum invocations per compute workgroup.
Implementations§
Trait Implementations§
Source§impl Clone for MegakernelGridLimits
impl Clone for MegakernelGridLimits
Source§fn clone(&self) -> MegakernelGridLimits
fn clone(&self) -> MegakernelGridLimits
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 moreSource§impl Debug for MegakernelGridLimits
impl Debug for MegakernelGridLimits
Source§impl Hash for MegakernelGridLimits
impl Hash for MegakernelGridLimits
Source§impl PartialEq for MegakernelGridLimits
impl PartialEq for MegakernelGridLimits
Source§fn eq(&self, other: &MegakernelGridLimits) -> bool
fn eq(&self, other: &MegakernelGridLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MegakernelGridLimits
impl Eq for MegakernelGridLimits
impl StructuralPartialEq for MegakernelGridLimits
Auto Trait Implementations§
impl Freeze for MegakernelGridLimits
impl RefUnwindSafe for MegakernelGridLimits
impl Send for MegakernelGridLimits
impl Sync for MegakernelGridLimits
impl Unpin for MegakernelGridLimits
impl UnsafeUnpin for MegakernelGridLimits
impl UnwindSafe for MegakernelGridLimits
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.