refactor: rename ggml_backend_load_all_in_search_path to ggml_backend_load_all_from_path

This commit is contained in:
Gilad S 2024-12-07 21:21:11 +02:00
parent 429aa9b94f
commit 8fac078f30
2 changed files with 3 additions and 3 deletions

View file

@ -228,7 +228,7 @@ extern "C" {
GGML_API void ggml_backend_unload(ggml_backend_reg_t reg);
// Load all known backends from dynamic libraries
GGML_API void ggml_backend_load_all(void);
GGML_API void ggml_backend_load_all_in_search_path(const char * search_path);
GGML_API void ggml_backend_load_all_from_path(const char * search_path);
//
// Backend scheduler

View file

@ -519,10 +519,10 @@ static ggml_backend_reg_t ggml_backend_load_best(const char * name, bool silent,
}
void ggml_backend_load_all() {
ggml_backend_load_all_in_search_path(NULL);
ggml_backend_load_all_from_path(NULL);
}
void ggml_backend_load_all_in_search_path(const char * search_path) {
void ggml_backend_load_all_from_path(const char * search_path) {
#ifdef NDEBUG
bool silent = true;
#else