moe_expert_silu_down_shared_fp8_batch2

Function moe_expert_silu_down_shared_fp8_batch2 

Source
pub fn moe_expert_silu_down_shared_fp8_batch2(
    gpu: &dyn GpuBackend,
    kernel: KernelHandle,
    gate_out: DevicePtr,
    up_out: DevicePtr,
    dp_w: DevicePtr,
    dp_s: DevicePtr,
    output: DevicePtr,
    indices: DevicePtr,
    sh_gate_in: DevicePtr,
    sh_up_in: DevicePtr,
    sh_down: &Fp8Weight,
    sh_down_out: DevicePtr,
    n: u32,
    k: u32,
    top_k: u32,
    stream: u64,
) -> Result<()>
Expand description

FP8 fused SiLU+down GEMV for batch=2. Grid: (ceil(N/8), 2*(top_k+1), 1) Block: (128, 1, 1)