ggml : add and use ggml_cpu_has_llamafile()

This commit is contained in:
Georgi Gerganov 2024-07-24 11:31:41 +03:00
parent de280085e7
commit 5934580905
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
3 changed files with 10 additions and 5 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