pub struct Glm5NextKdaKernels {Show 16 fields
pub gemm: KernelHandle,
pub gemv: KernelHandle,
pub gemv_batchm: KernelHandle,
pub conv_decode: KernelHandle,
pub conv_prefill: KernelHandle,
pub l2: KernelHandle,
pub gate: KernelHandle,
pub chunk_prepare: KernelHandle,
pub chunk_scan: KernelHandle,
pub recurrent: KernelHandle,
pub recurrent_smem: KernelHandle,
pub o_norm: KernelHandle,
pub split_widen: KernelHandle,
pub sigmoid: KernelHandle,
pub fill: KernelHandle,
pub pack: KernelHandle,
}Fields§
§gemm: KernelHandle§gemv: KernelHandle2026-09-25: The M = 1 kernel: dense_mm_bf16 sends every decode projection here. Measured
2026-08-28: dense_gemm_bf16 at M = 1 moved 58 GB/s and took 32% of the GLM decode step.
gemv_batchm: KernelHandle2026-09-25: The batched GEMV: 2..=DENSE_GEMV_BATCHM_MAX_M rows in one pass over the
weight, so a K-row decode_k reads each projection weight once. 0 on a target without
it; ops::dense_mm_bf16 then sends those rows to the tile GEMM.
conv_decode: KernelHandle§conv_prefill: KernelHandle§l2: KernelHandle§gate: KernelHandle§chunk_prepare: KernelHandle§chunk_scan: KernelHandle§recurrent: KernelHandle§recurrent_smem: KernelHandle2026-09-25: 1R+1W sibling of recurrent: the decayed state column stays in shared memory
between the two passes. Resolved with try_kernel; 0 selects the 2R+2W kernel.
o_norm: KernelHandle§split_widen: KernelHandle§sigmoid: KernelHandle§fill: KernelHandle§pack: KernelHandleImplementations§
Source§impl Glm5NextKdaKernels
impl Glm5NextKdaKernels
pub const ENTRY_POINTS: usize = 14
pub fn resolve(gpu: &dyn GpuBackend) -> Result<Self>
Trait Implementations§
Source§impl Clone for Glm5NextKdaKernels
impl Clone for Glm5NextKdaKernels
Source§fn clone(&self) -> Glm5NextKdaKernels
fn clone(&self) -> Glm5NextKdaKernels
Returns a duplicate 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 moreimpl Copy for Glm5NextKdaKernels
Auto Trait Implementations§
impl Freeze for Glm5NextKdaKernels
impl RefUnwindSafe for Glm5NextKdaKernels
impl Send for Glm5NextKdaKernels
impl Sync for Glm5NextKdaKernels
impl Unpin for Glm5NextKdaKernels
impl UnwindSafe for Glm5NextKdaKernels
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