← Back to C-Kernel-Engine Docs Doxygen Source Documentation
 
Loading...
Searching...
No Matches
quantize_row_q8_k_avx2.c
Go to the documentation of this file.
1/**
2 * @file quantize_row_q8_k_avx2.c
3 * @brief AVX2 entrypoint for exact Q8_K row quantization
4 *
5 * The previous AVX2 entrypoint delegated to the SSE implementation. On this
6 * CPU the scalar reference compiles into a faster loop than both the SSE body
7 * and a hand-written AVX2 pack path, while preserving byte-exact Q8_K output.
8 */
9
10#include "ckernel_quant.h"
11
12void quantize_row_q8_k_ref(const float *x, void *vy, int k);
13
14void quantize_row_q8_k_avx2(const float *x, void *vy, int k) {
15 quantize_row_q8_k_ref(x, vy, k);
16}
Quantization block structures for weight-only quantization.
void quantize_row_q8_k_avx2(const float *x, void *vy, int k)
void quantize_row_q8_k_ref(const float *x, void *vy, int k)