← Back to C-Kernel-Engine Docs Doxygen Source Documentation
 
Loading...
Searching...
No Matches
quantize_row_q8_k_avx512.c
Go to the documentation of this file.
1/**
2 * @file quantize_row_q8_k_avx512.c
3 * @brief AVX-512 entrypoint for exact Q8_K row quantization
4 */
5
6void quantize_row_q8_k_ref(const float *x, void *vy, int k);
7
8void quantize_row_q8_k_avx512(const float *x, void *vy, int k) {
9 /*
10 * Q8_K bytes are part of the numerical ABI consumed by Q4_K/Q6_K dots.
11 * Keep AVX-512 on the reference contract until a vector implementation is
12 * byte-exact for every block, including multi-block activation rows.
13 */
14 quantize_row_q8_k_ref(x, vy, k);
15}
void quantize_row_q8_k_avx512(const float *x, void *vy, int k)
void quantize_row_q8_k_ref(const float *x, void *vy, int k)