Skip to content

Commit f90ec25

Browse files
committed
ggml-zdnn: fix missing import and incorrect function call
Signed-off-by: Aaron Teo <[email protected]>
1 parent debc40d commit f90ec25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ggml/src/ggml-zdnn/ggml-zdnn.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "zdnn.h"
66

77
#include <string>
8+
#include <memory>
89
#include <stdint.h>
910

1011
struct ggml_backend_zdnn_context {
@@ -89,7 +90,7 @@ static struct ggml_backend_i ggml_backend_zdnn_i = {
8990
/* .graph_plan_free = */ NULL,
9091
/* .graph_plan_update = */ NULL,
9192
/* .graph_plan_compute = */ NULL,
92-
/* .graph_compute = */ ggml_backend_zdnn_graph_compute(),
93+
/* .graph_compute = */ ggml_backend_zdnn_graph_compute,
9394
/* .event_record = */ NULL,
9495
/* .event_wait = */ NULL,
9596
};

0 commit comments

Comments
 (0)