CK
← 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
12
void
quantize_row_q8_k_ref
(
const
float
*x,
void
*vy,
int
k);
13
14
void
quantize_row_q8_k_avx2
(
const
float
*x,
void
*vy,
int
k) {
15
quantize_row_q8_k_ref
(x, vy, k);
16
}
ckernel_quant.h
Quantization block structures for weight-only quantization.
quantize_row_q8_k_avx2
void quantize_row_q8_k_avx2(const float *x, void *vy, int k)
Definition
quantize_row_q8_k_avx2.c:14
quantize_row_q8_k_ref
void quantize_row_q8_k_ref(const float *x, void *vy, int k)
Definition
gemm_kernels_q4k_q8k.c:61
src
kernels
quantize_row_q8_k_avx2.c
Generated by
1.9.8