We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a32b77c commit 7733f0cCopy full SHA for 7733f0c
ggml-quants.c
@@ -132,7 +132,7 @@ static inline __m256 sum_i16_pairs_float(const __m256i x) {
132
}
133
134
static inline __m256 mul_sum_us8_pairs_float(const __m256i ax, const __m256i sy) {
135
-#if __AVXVNNI__
+#if defined(__AVXVNNI__) || defined(__AVX512VNNI__)
136
const __m256i zero = _mm256_setzero_si256();
137
const __m256i summed_pairs = _mm256_dpbusd_epi32(zero, ax, sy);
138
return _mm256_cvtepi32_ps(summed_pairs);
0 commit comments