pub enum KernelCategory {
Gemm,
Attention,
Conv2d,
VectorAdd,
Normalization,
}Expand description
Categories of kernels with distinct tuning parameter spaces.
Variants§
Implementations§
Source§impl KernelCategory
impl KernelCategory
Sourcepub fn all_kernel_names() -> &'static [&'static str]
pub fn all_kernel_names() -> &'static [&'static str]
All supported kernel names.
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Human-readable description.
Trait Implementations§
Source§impl Clone for KernelCategory
impl Clone for KernelCategory
impl Copy for KernelCategory
Source§impl Debug for KernelCategory
impl Debug for KernelCategory
Source§impl<'de> Deserialize<'de> for KernelCategory
impl<'de> Deserialize<'de> for KernelCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for KernelCategory
Source§impl Hash for KernelCategory
impl Hash for KernelCategory
Source§impl PartialEq for KernelCategory
impl PartialEq for KernelCategory
Source§impl Serialize for KernelCategory
impl Serialize for KernelCategory
impl StructuralPartialEq for KernelCategory
Auto Trait Implementations§
impl Freeze for KernelCategory
impl RefUnwindSafe for KernelCategory
impl Send for KernelCategory
impl Sync for KernelCategory
impl Unpin for KernelCategory
impl UnsafeUnpin for KernelCategory
impl UnwindSafe for KernelCategory
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