mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-19 20:57:52 +00:00
ggml : fix arch check in bf16_to_fp32 (llama/10164)
This commit is contained in:
parent
8c9044bef0
commit
f69c8b6f1b
@ -395,6 +395,8 @@ void ggml_bf16_to_fp32_row(const ggml_bf16_t * x, float * y, int64_t n) {
|
||||
16)));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#if defined(__AVX2__)
|
||||
if (ggml_cpu_has_avx2()) {
|
||||
for (; i + 8 <= n; i += 8) {
|
||||
_mm256_storeu_ps(y + i,
|
||||
|
Loading…
Reference in New Issue
Block a user