seperate DPCT helpers outside

remove global variables and pack into context
This commit is contained in:
Meng, Hengyu 2024-05-30 20:41:54 +08:00
parent e6157f94c8
commit 1f80e0e428
7 changed files with 4021 additions and 4542 deletions

18
ggml-sycl/backend.hpp Normal file
View file

@ -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