pub struct KernelId {
pub module: String,
pub func: String,
}Expand description
2026-09-28: A kernel entry point as the engine looks it up: the module name (the source
stem after KERNEL.toml [modules] renames, e.g. norm for rms_norm.cu) and the
function.
Fields§
§module: String2026-09-28: Module, e.g. norm.
func: String2026-09-28: Function, e.g. residual_add_rms_norm.
Trait Implementations§
Source§impl Ord for KernelId
impl Ord for KernelId
Source§impl PartialOrd for KernelId
impl PartialOrd for KernelId
impl Eq for KernelId
impl StructuralPartialEq for KernelId
Auto Trait Implementations§
impl Freeze for KernelId
impl RefUnwindSafe for KernelId
impl Send for KernelId
impl Sync for KernelId
impl Unpin for KernelId
impl UnwindSafe for KernelId
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.