summaryrefslogtreecommitdiff
path: root/ggml-sycl/backend.hpp
diff options
context:
space:
mode:
authorMeng, Hengyu <hengyu.meng@intel.com>2024-06-15 14:05:10 +0800
committerGitHub <noreply@github.com>2024-06-15 14:05:10 +0800
commit7b2f4a7d193ef2475259bbe7656fcccfab4b1217 (patch)
treebc47d7cc1d1d3b2677de25b3666342fb65c5ccba /ggml-sycl/backend.hpp
parentf8ec8877b75774fc6c47559d529dac423877bcad (diff)
[SYCL] remove global variables (#7710)
* separate DPCT helpers outside * replace global variables with context * remove useless extra * update mul_mat condition * remove duplicate buft initialization * remove duplicate extra and global work group size * remove useless backend check * remove duplicated extras * use macro for group_size and remove cuda-related
Diffstat (limited to 'ggml-sycl/backend.hpp')
-rw-r--r--ggml-sycl/backend.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/ggml-sycl/backend.hpp b/ggml-sycl/backend.hpp
new file mode 100644
index 00000000..88bae596
--- /dev/null
+++ b/ggml-sycl/backend.hpp
@@ -0,0 +1,18 @@
+//
+// MIT license
+// Copyright (C) 2024 Intel Corporation
+// SPDX-License-Identifier: MIT
+//
+
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+
+#ifndef GGML_SYCL_BACKEND_HPP
+#define GGML_SYCL_BACKEND_HPP
+
+#include "common.hpp"
+
+#endif // GGML_SYCL_BACKEND_HPP