]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
sycl : remove global variables (cont) (llama/7710)
authorYilong Guo <redacted>
Sun, 16 Jun 2024 07:51:38 +0000 (00:51 -0700)
committerGitHub <redacted>
Sun, 16 Jun 2024 07:51:38 +0000 (10:51 +0300)
commit66bacfaeb273238a2d43d9400b8709c6332144a3
tree289db175029142facbcb09b7e4217ff1b0a35c36
parente8d2325ea2756e8931252ac07635e6d64f3a23cc
sycl : remove global variables (cont) (llama/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

Co-authored-by: Meng, Hengyu <redacted>
src/ggml-sycl/backend.hpp [new file with mode: 0644]
src/ggml-sycl/common.cpp [new file with mode: 0644]
src/ggml-sycl/common.hpp [new file with mode: 0644]
src/ggml-sycl/dpct/helper.hpp [new file with mode: 0644]
src/ggml-sycl/presets.hpp [new file with mode: 0644]