pub struct DenseMmKernels {
pub gemm: KernelHandle,
pub gemv: KernelHandle,
pub batchm: KernelHandle,
}Expand description
The three BF16 dense kernels one projection site can land on, resolved once.
GLM-5.3 binds one of these per mixer/MLP site; batchm is 0 on a backend that
does not carry dense_gemv_bf16_batchm, and dense_mm_bf16 then falls back to
the tile GEMM exactly as before.
Fields§
§gemm: KernelHandledense_gemm_bf16 — 16×16 tile GEMM. The only arm that handles M > 8.
gemv: KernelHandledense_gemv_bf16 — M == 1.
batchm: KernelHandledense_gemv_bf16_batchm — 2 ..= 8, ONE weight sweep. 0 = unavailable.
Trait Implementations§
Source§impl Clone for DenseMmKernels
impl Clone for DenseMmKernels
Source§fn clone(&self) -> DenseMmKernels
fn clone(&self) -> DenseMmKernels
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 DenseMmKernels
Auto Trait Implementations§
impl Freeze for DenseMmKernels
impl RefUnwindSafe for DenseMmKernels
impl Send for DenseMmKernels
impl Sync for DenseMmKernels
impl Unpin for DenseMmKernels
impl UnwindSafe for DenseMmKernels
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