AVX2 entrypoint for exact Q8_K row quantization. More...
#include "ckernel_quant.h"Go to the source code of this file.
Functions | |
| 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) |
AVX2 entrypoint for exact Q8_K row quantization.
The previous AVX2 entrypoint delegated to the SSE implementation. On this CPU the scalar reference compiles into a faster loop than both the SSE body and a hand-written AVX2 pack path, while preserving byte-exact Q8_K output.
Definition in file quantize_row_q8_k_avx2.c.
| void quantize_row_q8_k_avx2 | ( | const float * | x, |
| void * | vy, | ||
| int | k | ||
| ) |
Definition at line 14 of file quantize_row_q8_k_avx2.c.
References quantize_row_q8_k_ref().
Referenced by quantize_row_q8_k().
| void quantize_row_q8_k_ref | ( | const float * | x, |
| void * | vy, | ||
| int | k | ||
| ) |
Definition at line 61 of file gemm_kernels_q4k_q8k.c.
Referenced by quantize_row_q8_k_avx2().