add AVX support

This commit is contained in:
katsu560
2022-11-23 20:23:24 +09:00
committed by Georgi Gerganov
parent 3df6c14fca
commit 83456076f0
3 changed files with 168 additions and 0 deletions

View File

@@ -3041,6 +3041,7 @@ const char * whisper_print_system_info() {
static std::string s;
s = "";
s += "AVX = " + std::to_string(ggml_cpu_has_avx()) + " | ";
s += "AVX2 = " + std::to_string(ggml_cpu_has_avx2()) + " | ";
s += "AVX512 = " + std::to_string(ggml_cpu_has_avx512()) + " | ";
s += "NEON = " + std::to_string(ggml_cpu_has_neon()) + " | ";