refactor: rename ggml_backend_load_all_in_search_path
to ggml_backend_load_all_from_path
This commit is contained in:
parent
429aa9b94f
commit
8fac078f30
2 changed files with 3 additions and 3 deletions
|
@ -228,7 +228,7 @@ extern "C" {
|
||||||
GGML_API void ggml_backend_unload(ggml_backend_reg_t reg);
|
GGML_API void ggml_backend_unload(ggml_backend_reg_t reg);
|
||||||
// Load all known backends from dynamic libraries
|
// Load all known backends from dynamic libraries
|
||||||
GGML_API void ggml_backend_load_all(void);
|
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
|
// Backend scheduler
|
||||||
|
|
|
@ -519,10 +519,10 @@ static ggml_backend_reg_t ggml_backend_load_best(const char * name, bool silent,
|
||||||
}
|
}
|
||||||
|
|
||||||
void ggml_backend_load_all() {
|
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
|
#ifdef NDEBUG
|
||||||
bool silent = true;
|
bool silent = true;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue