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 9
9
#include "ggml.h"
10
10
#include "ggml-backend.h"
11
11
12
- #define GGML_SYCL_NAME "SYCL"
13
- #define GGML_SYCL_MAX_DEVICES 48
14
-
15
12
#ifdef __cplusplus
16
13
extern "C" {
17
14
#endif
Original file line number Diff line number Diff line change 17
17
#include < iostream>
18
18
19
19
#include " dpct/helper.hpp"
20
- #include " ggml-sycl.h"
21
20
#include " presets.hpp"
22
21
#if GGML_SYCL_DNNL
23
22
#include " dnnl.hpp"
31
30
#pragma clang diagnostic ignored "-Wnested-anon-types"
32
31
#include " ggml-common.h"
33
32
#pragma clang diagnostic pop
33
+ #include < sycl/half_type.hpp>
34
+ #include < sycl/sycl.hpp>
35
+
34
36
#include " ggml-backend-impl.h"
35
37
#include " ggml-impl.h"
36
38
#include " ggml.h"
@@ -88,6 +90,9 @@ extern int g_ggml_sycl_debug;
88
90
#define GGML_SYCL_MMV_Y 1
89
91
#endif
90
92
93
+ #define GGML_SYCL_NAME " SYCL"
94
+ #define GGML_SYCL_MAX_DEVICES 48
95
+
91
96
typedef sycl::queue *queue_ptr;
92
97
93
98
enum ggml_sycl_backend_gpu_mode {
Original file line number Diff line number Diff line change 29
29
#include < stdlib.h>
30
30
#include < regex>
31
31
32
- #include < sycl/sycl.hpp>
33
- #include < sycl/half_type.hpp>
34
-
35
32
#include " ggml-sycl.h"
36
- #include " ggml-impl.h"
37
- #include " ggml-backend-impl.h"
38
-
33
+ #include " common.hpp"
39
34
#include " ggml-sycl/backend.hpp"
40
- #include " ggml-sycl/presets.hpp"
41
35
#include " ggml-sycl/gemm.hpp"
42
36
43
37
static bool g_sycl_loaded = false ;
You can’t perform that action at this time.
0 commit comments