File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 99#include "ggml.h"
1010#include "ggml-backend.h"
1111
12- #define GGML_SYCL_NAME "SYCL"
13- #define GGML_SYCL_MAX_DEVICES 48
14-
1512#ifdef __cplusplus
1613extern "C" {
1714#endif
Original file line number Diff line number Diff line change 1717#include < iostream>
1818
1919#include " dpct/helper.hpp"
20- #include " ggml-sycl.h"
2120#include " presets.hpp"
2221#if GGML_SYCL_DNNL
2322#include " dnnl.hpp"
3130#pragma clang diagnostic ignored "-Wnested-anon-types"
3231#include " ggml-common.h"
3332#pragma clang diagnostic pop
33+ #include < sycl/half_type.hpp>
34+ #include < sycl/sycl.hpp>
35+
3436#include " ggml-backend-impl.h"
3537#include " ggml-impl.h"
3638#include " ggml.h"
@@ -88,6 +90,9 @@ extern int g_ggml_sycl_debug;
8890#define GGML_SYCL_MMV_Y 1
8991#endif
9092
93+ #define GGML_SYCL_NAME " SYCL"
94+ #define GGML_SYCL_MAX_DEVICES 48
95+
9196typedef sycl::queue *queue_ptr;
9297
9398enum ggml_sycl_backend_gpu_mode {
Original file line number Diff line number Diff line change 2929#include < stdlib.h>
3030#include < regex>
3131
32- #include < sycl/sycl.hpp>
33- #include < sycl/half_type.hpp>
34-
3532#include " ggml-sycl.h"
36- #include " ggml-impl.h"
37- #include " ggml-backend-impl.h"
38-
33+ #include " common.hpp"
3934#include " ggml-sycl/backend.hpp"
40- #include " ggml-sycl/presets.hpp"
4135#include " ggml-sycl/gemm.hpp"
4236
4337static bool g_sycl_loaded = false ;
You can’t perform that action at this time.
0 commit comments