Enum burn_wgpu::compute::WgpuAutotuneKey
source · pub enum WgpuAutotuneKey {
Matmul(MatmulAutotuneKey),
SumDim(ReduceAutotuneKey),
MeanDim(ReduceAutotuneKey),
}Expand description
Key for all autotune-enabled operations
Variants§
Matmul(MatmulAutotuneKey)
Key for matmul operation
SumDim(ReduceAutotuneKey)
Key for sum_dim operations
MeanDim(ReduceAutotuneKey)
Key for mean_dim operations
Trait Implementations§
source§impl<E: WgpuElement + Element, const D: usize> AutotuneOperationSet<WgpuAutotuneKey> for MatmulAutotuneOperationSet<E, D>
impl<E: WgpuElement + Element, const D: usize> AutotuneOperationSet<WgpuAutotuneKey> for MatmulAutotuneOperationSet<E, D>
source§fn key(&self) -> WgpuAutotuneKey
fn key(&self) -> WgpuAutotuneKey
The key used in the tune cache
source§fn autotunables(&self) -> Vec<Box<dyn AutotuneOperation>>
fn autotunables(&self) -> Vec<Box<dyn AutotuneOperation>>
All candidate operations for autotuning this operation type
Operations can run on toy tensors of relevant size
source§impl<E: WgpuElement + Element, const D: usize> AutotuneOperationSet<WgpuAutotuneKey> for MeanDimAutotuneOperationSet<E, D>
impl<E: WgpuElement + Element, const D: usize> AutotuneOperationSet<WgpuAutotuneKey> for MeanDimAutotuneOperationSet<E, D>
source§fn key(&self) -> WgpuAutotuneKey
fn key(&self) -> WgpuAutotuneKey
The key used in the tune cache
source§fn autotunables(&self) -> Vec<Box<dyn AutotuneOperation>>
fn autotunables(&self) -> Vec<Box<dyn AutotuneOperation>>
All candidate operations for autotuning this operation type
Operations can run on toy tensors of relevant size
source§impl<E: WgpuElement + Element, const D: usize> AutotuneOperationSet<WgpuAutotuneKey> for SumDimAutotuneOperationSet<E, D>
impl<E: WgpuElement + Element, const D: usize> AutotuneOperationSet<WgpuAutotuneKey> for SumDimAutotuneOperationSet<E, D>
source§fn key(&self) -> WgpuAutotuneKey
fn key(&self) -> WgpuAutotuneKey
The key used in the tune cache
source§fn autotunables(&self) -> Vec<Box<dyn AutotuneOperation>>
fn autotunables(&self) -> Vec<Box<dyn AutotuneOperation>>
All candidate operations for autotuning this operation type
Operations can run on toy tensors of relevant size
source§impl Clone for WgpuAutotuneKey
impl Clone for WgpuAutotuneKey
source§fn clone(&self) -> WgpuAutotuneKey
fn clone(&self) -> WgpuAutotuneKey
Returns a copy of the value. Read more
1.0.0 · 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 WgpuAutotuneKey
impl Debug for WgpuAutotuneKey
source§impl Display for WgpuAutotuneKey
impl Display for WgpuAutotuneKey
source§impl Hash for WgpuAutotuneKey
impl Hash for WgpuAutotuneKey
source§impl PartialEq for WgpuAutotuneKey
impl PartialEq for WgpuAutotuneKey
source§fn eq(&self, other: &WgpuAutotuneKey) -> bool
fn eq(&self, other: &WgpuAutotuneKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl AutotuneKey for WgpuAutotuneKey
impl Eq for WgpuAutotuneKey
impl StructuralEq for WgpuAutotuneKey
impl StructuralPartialEq for WgpuAutotuneKey
Auto Trait Implementations§
impl RefUnwindSafe for WgpuAutotuneKey
impl Send for WgpuAutotuneKey
impl Sync for WgpuAutotuneKey
impl Unpin for WgpuAutotuneKey
impl UnwindSafe for WgpuAutotuneKey
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.