pub fn moe_expert_silu_down_shared_bf16(
gpu: &dyn GpuBackend,
kernel: KernelHandle,
gate_out: DevicePtr,
up_out: DevicePtr,
down_weight_ptrs: DevicePtr,
output: DevicePtr,
expert_indices: DevicePtr,
sh_gate_in: DevicePtr,
sh_up_in: DevicePtr,
sh_down_weight: DevicePtr,
sh_down_out: DevicePtr,
n: u32,
k: u32,
top_k: u32,
stream: u64,
) -> Result<()>Expand description
Fused SiLU+down expert GEMV with shared expert for BF16 weights.
BF16 variant of moe_expert_silu_down_shared_fp8: no scale tables.
Grid: (ceil(N/8), top_k+1, 1) Block: (128, 1, 1)