Skip to content

Commit 5d0bd1a

Browse files
author
zhouwg
committed
ggml: offload the entire cgraph to a specified backend --- make CI happy
1 parent 4e20355 commit 5d0bd1a

File tree

10 files changed

+10
-0
lines changed

10 files changed

+10
-0
lines changed

ggml/src/ggml-blas/ggml-blas.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ static struct ggml_backend_i blas_backend_i = {
270270
/* .graph_compute = */ ggml_backend_blas_graph_compute,
271271
/* .event_record = */ NULL,
272272
/* .event_wait = */ NULL,
273+
/* .graph_compute_entire = */ NULL,
273274
};
274275

275276
static ggml_guid_t ggml_backend_blas_guid(void) {

ggml/src/ggml-cann/ggml-cann.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1897,6 +1897,7 @@ static const ggml_backend_i ggml_backend_cann_interface = {
18971897
/* .graph_compute = */ ggml_backend_cann_graph_compute,
18981898
/* .event_record = */ ggml_backend_cann_event_record,
18991899
/* .event_wait = */ ggml_backend_cann_event_wait,
1900+
/* .graph_compute_entire = */ NULL,
19001901
};
19011902

19021903
/**

ggml/src/ggml-cpu/ggml-cpu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ static const struct ggml_backend_i ggml_backend_cpu_i = {
182182
/* .graph_compute = */ ggml_backend_cpu_graph_compute,
183183
/* .event_record = */ NULL,
184184
/* .event_wait = */ NULL,
185+
/* .graph_compute_entire = */ NULL,
185186
};
186187

187188
static ggml_guid_t ggml_backend_cpu_guid(void) {

ggml/src/ggml-cuda/ggml-cuda.cu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2816,6 +2816,7 @@ static const ggml_backend_i ggml_backend_cuda_interface = {
28162816
/* .graph_compute = */ ggml_backend_cuda_graph_compute,
28172817
/* .event_record = */ ggml_backend_cuda_event_record,
28182818
/* .event_wait = */ ggml_backend_cuda_event_wait,
2819+
/* .graph_compute_entire = */ NULL,
28192820
};
28202821

28212822
static ggml_guid_t ggml_backend_cuda_guid() {

ggml/src/ggml-kompute/ggml-kompute.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,6 +2058,7 @@ static struct ggml_backend_i kompute_backend_i = {
20582058
/* .graph_compute = */ ggml_backend_kompute_graph_compute,
20592059
/* .event_record = */ NULL,
20602060
/* .event_wait = */ NULL,
2061+
/* .graph_compute_entire = */ NULL,
20612062
};
20622063

20632064
static ggml_guid_t ggml_backend_kompute_guid() {

ggml/src/ggml-metal/ggml-metal.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4806,6 +4806,7 @@ static void ggml_backend_metal_set_n_cb(ggml_backend_t backend, int n_cb) {
48064806
/* .graph_compute = */ ggml_backend_metal_graph_compute,
48074807
/* .event_record = */ NULL,
48084808
/* .event_wait = */ NULL,
4809+
/* .graph_compute_entire = */ NULL,
48094810
};
48104811

48114812
static ggml_guid_t ggml_backend_metal_guid(void) {

ggml/src/ggml-opencl/ggml-opencl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,6 +1167,7 @@ static ggml_backend_i ggml_backend_opencl_i = {
11671167
/* .graph_compute = */ ggml_backend_opencl_graph_compute,
11681168
/* .event_record = */ NULL,
11691169
/* .event_wait = */ NULL,
1170+
/* .graph_compute_entire = */ NULL,
11701171
};
11711172

11721173
ggml_backend_t ggml_backend_opencl_init(void) {

ggml/src/ggml-rpc/ggml-rpc.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,7 @@ static ggml_backend_i ggml_backend_rpc_interface = {
697697
/* .graph_compute = */ ggml_backend_rpc_graph_compute,
698698
/* .event_record = */ NULL,
699699
/* .event_wait = */ NULL,
700+
/* .graph_compute_entire = */ NULL,
700701
};
701702

702703
ggml_backend_buffer_type_t ggml_backend_rpc_buffer_type(const char * endpoint) {

ggml/src/ggml-sycl/ggml-sycl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,6 +3749,7 @@ static ggml_backend_i ggml_backend_sycl_interface = {
37493749
/* .graph_compute = */ ggml_backend_sycl_graph_compute,
37503750
/* .event_record = */ ggml_backend_sycl_event_record,
37513751
/* .event_wait = */ ggml_backend_sycl_event_wait,
3752+
/* .graph_compute_entire = */ NULL,
37523753
};
37533754

37543755
static ggml_guid_t ggml_backend_sycl_guid() {

ggml/src/ggml-vulkan/ggml-vulkan.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8332,6 +8332,7 @@ static ggml_backend_i ggml_backend_vk_interface = {
83328332
/* .graph_compute = */ ggml_backend_vk_graph_compute,
83338333
/* .event_record = */ NULL,
83348334
/* .event_wait = */ NULL,
8335+
/* .graph_compute_entire = */ NULL,
83358336
};
83368337

83378338
static ggml_guid_t ggml_backend_vk_guid() {

0 commit comments

Comments
 (0)