pub struct WgpuTileProfile {
pub workgroup_width: u32,
pub matrix_tile: u32,
pub reduction_lanes: u32,
pub max_dispatch_bytes: u64,
}Expand description
Portable tile profile selected from granted adapter limits.
Fields§
§workgroup_width: u32Workgroup width for one-dimensional kernels.
matrix_tile: u32Square matrix tile edge used by transpose and matmul.
reduction_lanes: u32Number of workgroup-local reduction lanes.
max_dispatch_bytes: u64Maximum resident bytes accepted by one planned dispatch.
Implementations§
Source§impl WgpuTileProfile
impl WgpuTileProfile
Sourcepub fn from_probe(probe: &WgpuAdapterProbe) -> Self
pub fn from_probe(probe: &WgpuAdapterProbe) -> Self
Selects conservative portable tiles from granted adapter limits.
Trait Implementations§
Source§impl Clone for WgpuTileProfile
impl Clone for WgpuTileProfile
Source§fn clone(&self) -> WgpuTileProfile
fn clone(&self) -> WgpuTileProfile
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 WgpuTileProfile
Source§impl Debug for WgpuTileProfile
impl Debug for WgpuTileProfile
impl Eq for WgpuTileProfile
Source§impl PartialEq for WgpuTileProfile
impl PartialEq for WgpuTileProfile
impl StructuralPartialEq for WgpuTileProfile
Auto Trait Implementations§
impl Freeze for WgpuTileProfile
impl RefUnwindSafe for WgpuTileProfile
impl Send for WgpuTileProfile
impl Sync for WgpuTileProfile
impl Unpin for WgpuTileProfile
impl UnsafeUnpin for WgpuTileProfile
impl UnwindSafe for WgpuTileProfile
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.