Skip to content

Commit 8fac078

Browse files
committed
refactor: rename ggml_backend_load_all_in_search_path to ggml_backend_load_all_from_path
1 parent 429aa9b commit 8fac078

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ggml/include/ggml-backend.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ extern "C" {
228228
GGML_API void ggml_backend_unload(ggml_backend_reg_t reg);
229229
// Load all known backends from dynamic libraries
230230
GGML_API void ggml_backend_load_all(void);
231-
GGML_API void ggml_backend_load_all_in_search_path(const char * search_path);
231+
GGML_API void ggml_backend_load_all_from_path(const char * search_path);
232232

233233
//
234234
// Backend scheduler

ggml/src/ggml-backend-reg.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,10 +519,10 @@ static ggml_backend_reg_t ggml_backend_load_best(const char * name, bool silent,
519519
}
520520

521521
void ggml_backend_load_all() {
522-
ggml_backend_load_all_in_search_path(NULL);
522+
ggml_backend_load_all_from_path(NULL);
523523
}
524524

525-
void ggml_backend_load_all_in_search_path(const char * search_path) {
525+
void ggml_backend_load_all_from_path(const char * search_path) {
526526
#ifdef NDEBUG
527527
bool silent = true;
528528
#else

0 commit comments

Comments
 (0)