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

View file

@ -13,9 +13,6 @@
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);