Skip to content

Commit adc3d54

Browse files
committed
fix fp16 issues
1 parent 1dd88fc commit adc3d54

File tree

9 files changed

+875
-822
lines changed

9 files changed

+875
-822
lines changed

ggml-sycl.cpp

-819
Large diffs are not rendered by default.

ggml-sycl.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@
88

99
#include "ggml.h"
1010
#include "ggml-backend.h"
11+
#include "ggml-sycl/presets.hpp"
1112

1213
#ifdef __cplusplus
1314
extern "C" {
1415
#endif
1516

16-
#define GGML_SYCL_MAX_DEVICES 48
17-
#define GGML_SYCL_NAME "SYCL"
18-
1917
// backend API
2018
GGML_API ggml_backend_t ggml_backend_sycl_init(int device);
2119

ggml-sycl/backend.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414
#define GGML_SYCL_BACKEND_HPP
1515

1616
#include "common.hpp"
17+
#include "convert.hpp"
1718
#include "dequantize.hpp"
1819
#include "dmmv.hpp"
1920
#include "mmq.hpp"
2021
#include "mmvq.hpp"
22+
#include "pool.hpp"
2123

2224
#endif // GGML_SYCL_BACKEND_HPP

ggml-sycl/common.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <iostream>
1818

1919
#include "dpct/helper.hpp"
20+
#include "presets.hpp"
2021

2122
#define GGML_COMMON_DECL_SYCL
2223
#define GGML_COMMON_IMPL_SYCL

0 commit comments

Comments
 (0)