Skip to content

Commit fe1e391

Browse files
authored
Revert "[SYCL] Update rpc-server.cpp to include SYCL backend (#7682)" (#7808)
This reverts commit 9422c5e.
1 parent d4d915d commit fe1e391

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

examples/rpc/rpc-server.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
#include "ggml-metal.h"
77
#endif
88

9-
#ifdef GGML_USE_SYCL
10-
#include "ggml-sycl.h"
11-
#endif
12-
139
#include "ggml-rpc.h"
1410
#ifdef _WIN32
1511
# include <windows.h>
@@ -83,12 +79,6 @@ static ggml_backend_t create_backend() {
8379
if (!backend) {
8480
fprintf(stderr, "%s: ggml_backend_metal_init() failed\n", __func__);
8581
}
86-
#elif GGML_USE_SYCL
87-
fprintf(stderr, "%s: using SYCL backend\n", __func__);
88-
backend = ggml_backend_sycl_init(0); // init device 0
89-
if (!backend) {
90-
fprintf(stderr, "%s: ggml_backend_sycl_init() failed\n", __func__);
91-
}
9282
#endif
9383

9484
// if there aren't GPU Backends fallback to CPU backend

0 commit comments

Comments
 (0)