Skip to content

Commit

Permalink
fix fp16 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
airMeng committed May 6, 2024
1 parent 1dd88fc commit adc3d54
Show file tree
Hide file tree
Showing 9 changed files with 875 additions and 822 deletions.
819 changes: 0 additions & 819 deletions ggml-sycl.cpp

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions ggml-sycl.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@

#include "ggml.h"
#include "ggml-backend.h"
#include "ggml-sycl/presets.hpp"

#ifdef __cplusplus
extern "C" {
#endif

#define GGML_SYCL_MAX_DEVICES 48
#define GGML_SYCL_NAME "SYCL"

// backend API
GGML_API ggml_backend_t ggml_backend_sycl_init(int device);

Expand Down
2 changes: 2 additions & 0 deletions ggml-sycl/backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
#define GGML_SYCL_BACKEND_HPP

#include "common.hpp"
#include "convert.hpp"
#include "dequantize.hpp"
#include "dmmv.hpp"
#include "mmq.hpp"
#include "mmvq.hpp"
#include "pool.hpp"

#endif // GGML_SYCL_BACKEND_HPP
1 change: 1 addition & 0 deletions ggml-sycl/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <iostream>

#include "dpct/helper.hpp"
#include "presets.hpp"

#define GGML_COMMON_DECL_SYCL
#define GGML_COMMON_IMPL_SYCL
Expand Down

0 comments on commit adc3d54

Please sign in to comment.