Skip to content

Commit 633c502

Browse files
committed
Resolve ggml_backend_sched_eval_callback visibility
Fixes ggml-org#5029 introduced in ggml-org#4935
1 parent 57e2a7a commit 633c502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-backend.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ extern "C" {
154154
// when ask == false, the scheduler is passing the node tensor to the user for observation
155155
// if the user returns false, the scheduler will cancel the graph compute
156156
//
157-
typedef bool (*ggml_backend_sched_eval_callback)(struct ggml_tensor * t, bool ask, void * user_data);
157+
GGML_API typedef bool (*ggml_backend_sched_eval_callback)(struct ggml_tensor * t, bool ask, void * user_data);
158158

159159
// Initialize a backend scheduler
160160
GGML_API ggml_backend_sched_t ggml_backend_sched_new(ggml_backend_t * backends, ggml_backend_buffer_type_t * bufts, int n_backends, size_t graph_size);

0 commit comments

Comments
 (0)