pub struct LaunchGeometryLimits {
pub backend: &'static str,
pub max_threads_per_block: u32,
pub max_block_dim: [u32; 3],
pub max_grid_dim: [u32; 3],
}Expand description
Launch-geometry limits reported by a concrete driver.
Fields§
§backend: &'static strBackend name used in diagnostics.
max_threads_per_block: u32Maximum invocations in one workgroup or block.
max_block_dim: [u32; 3]Maximum workgroup or block dimensions (x, y, z).
max_grid_dim: [u32; 3]Maximum workgroup count per grid dimension.
Trait Implementations§
Source§impl Clone for LaunchGeometryLimits
impl Clone for LaunchGeometryLimits
Source§fn clone(&self) -> LaunchGeometryLimits
fn clone(&self) -> LaunchGeometryLimits
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 LaunchGeometryLimits
Source§impl Debug for LaunchGeometryLimits
impl Debug for LaunchGeometryLimits
impl Eq for LaunchGeometryLimits
Source§impl PartialEq for LaunchGeometryLimits
impl PartialEq for LaunchGeometryLimits
Source§fn eq(&self, other: &LaunchGeometryLimits) -> bool
fn eq(&self, other: &LaunchGeometryLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LaunchGeometryLimits
Auto Trait Implementations§
impl Freeze for LaunchGeometryLimits
impl RefUnwindSafe for LaunchGeometryLimits
impl Send for LaunchGeometryLimits
impl Sync for LaunchGeometryLimits
impl Unpin for LaunchGeometryLimits
impl UnsafeUnpin for LaunchGeometryLimits
impl UnwindSafe for LaunchGeometryLimits
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.