#![allow(dead_code)]
#![allow(improper_ctypes)]
use std::ffi::c_void;
extern "C" {
pub fn launch_quantize_q8_1(
x: *const f32,
vy: *mut c_void,
kx: i32,
kx_padded: i32,
num_blocks_x: i32,
num_rows: i32,
stream: *mut c_void,
);
pub fn launch_indexed_moe_forward_q2k_q8_1(
all_weights: *const c_void,
all_inputs: *const c_void,
indices: *const u32,
all_outputs: *mut f32,
n: i32,
k: i32,
batch: i32,
topk: i32,
k_padded: i32,
input_dim1: i32,
stream: *mut c_void,
);
pub fn launch_indexed_moe_forward_q3k_q8_1(
all_weights: *const c_void,
all_inputs: *const c_void,
indices: *const u32,
all_outputs: *mut f32,
n: i32,
k: i32,
batch: i32,
topk: i32,
k_padded: i32,
input_dim1: i32,
stream: *mut c_void,
);
pub fn launch_indexed_moe_forward_q4k_q8_1(
all_weights: *const c_void,
all_inputs: *const c_void,
indices: *const u32,
all_outputs: *mut f32,
n: i32,
k: i32,
batch: i32,
topk: i32,
k_padded: i32,
input_dim1: i32,
stream: *mut c_void,
);
pub fn launch_indexed_moe_forward_q5k_q8_1(
all_weights: *const c_void,
all_inputs: *const c_void,
indices: *const u32,
all_outputs: *mut f32,
n: i32,
k: i32,
batch: i32,
topk: i32,
k_padded: i32,
input_dim1: i32,
stream: *mut c_void,
);
pub fn launch_indexed_moe_forward_q6k_q8_1(
all_weights: *const c_void,
all_inputs: *const c_void,
indices: *const u32,
all_outputs: *mut f32,
n: i32,
k: i32,
batch: i32,
topk: i32,
k_padded: i32,
input_dim1: i32,
stream: *mut c_void,
);
pub fn launch_indexed_moe_forward_q8_0_q8_1(
all_weights: *const c_void,
all_inputs: *const c_void,
indices: *const u32,
all_outputs: *mut f32,
n: i32,
k: i32,
batch: i32,
topk: i32,
k_padded: i32,
input_dim1: i32,
stream: *mut c_void,
);
pub fn launch_indexed_moe_forward_q4_0_q8_1(
all_weights: *const c_void,
all_inputs: *const c_void,
indices: *const u32,
all_outputs: *mut f32,
n: i32,
k: i32,
batch: i32,
topk: i32,
k_padded: i32,
input_dim1: i32,
stream: *mut c_void,
);
pub fn launch_indexed_moe_forward_q4_1_q8_1(
all_weights: *const c_void,
all_inputs: *const c_void,
indices: *const u32,
all_outputs: *mut f32,
n: i32,
k: i32,
batch: i32,
topk: i32,
k_padded: i32,
input_dim1: i32,
stream: *mut c_void,
);
pub fn launch_indexed_moe_forward_q5_0_q8_1(
all_weights: *const c_void,
all_inputs: *const c_void,
indices: *const u32,
all_outputs: *mut f32,
n: i32,
k: i32,
batch: i32,
topk: i32,
k_padded: i32,
input_dim1: i32,
stream: *mut c_void,
);
pub fn launch_indexed_moe_forward_q5_1_q8_1(
all_weights: *const c_void,
all_inputs: *const c_void,
indices: *const u32,
all_outputs: *mut f32,
n: i32,
k: i32,
batch: i32,
topk: i32,
k_padded: i32,
input_dim1: i32,
stream: *mut c_void,
);
pub fn launch_indexed_moe_forward_q8_1_q8_1(
all_weights: *const c_void,
all_inputs: *const c_void,
indices: *const u32,
all_outputs: *mut f32,
n: i32,
k: i32,
batch: i32,
topk: i32,
k_padded: i32,
input_dim1: i32,
stream: *mut c_void,
);
}