Go to the source code of this file.
Functions | |
| static int | ck_pack_q4_input_q8_k (const float *input, unsigned char *packed, size_t width) |
| void | gemv_q4_k_q8_k_avx2 (float *, const void *, const void *, int, int) |
| void | gemv_q4_k_q8_k_pair_checked_cpu (float *, float *, const void *, const void *, const void *, int, int) |
| void | quantize_row_q8_k_ref (const float *, void *, int) |
|
inlinestatic |
Definition at line 13 of file checked_q4_k_activation.h.
References QK_K, and quantize_row_q8_k_ref().
Referenced by linear_rows_packed_k_q8_k_checked(), routed_softcapped_experts_checked_iq2_s_nvfp4_scaled(), routed_softcapped_experts_checked_iq2_xs_nvfp4_scaled(), routed_softcapped_experts_checked_iq3_xxs_nvfp4_scaled(), and routed_softcapped_experts_checked_q3_k_nvfp4_scaled().
| void gemv_q4_k_q8_k_avx2 | ( | float * | y, |
| const void * | W, | ||
| const void * | x_q8, | ||
| int | M, | ||
| int | K ) |
Definition at line 137 of file gemm_kernels_q4k_q8k_avx2.c.
References gemv_q4_k_q8_k_ref(), and QK_K.
Referenced by linear_rows_q4_k_q8_k_checked_f32().
| void gemv_q4_k_q8_k_pair_checked_cpu | ( | float * | out0, |
| float * | out1, | ||
| const void * | weights, | ||
| const void * | x0, | ||
| const void * | x1, | ||
| int | m, | ||
| int | k ) |
Definition at line 167 of file gemm_kernels_q4k_q8k_avx2.c.
References gemv_q4_k_q8_k_ref(), and QK_K.
| void quantize_row_q8_k_ref | ( | const float * | x, |
| void * | vy, | ||
| int | k ) |
Definition at line 71 of file gemm_kernels_q4k_q8k.c.
References block_q8_K::bsums, ck_nearest_int(), block_q8_K::d, QK_K, and block_q8_K::qs.
Referenced by ck_pack_q4_input_q8_k().