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

1
ggml.h
View File

@@ -723,6 +723,7 @@ enum ggml_opt_result ggml_opt(
// system info
//
int ggml_cpu_has_avx(void);
int ggml_cpu_has_avx2(void);
int ggml_cpu_has_avx512(void);
int ggml_cpu_has_neon(void);