ggml : add and use ggml_cpu_has_llamafile() (llama/8664)

This commit is contained in:
Georgi Gerganov
2024-07-25 12:37:42 +03:00
parent 7598acf525
commit c06970dd72
2 changed files with 9 additions and 0 deletions

View File

@ -2400,6 +2400,7 @@ extern "C" {
GGML_API int ggml_cpu_has_vsx (void);
GGML_API int ggml_cpu_has_matmul_int8(void);
GGML_API int ggml_cpu_has_cann (void);
GGML_API int ggml_cpu_has_llamafile (void);
//
// Internal types and functions exposed for tests and benchmarks