]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
SYCL: Migrate away from deprecated ggml_tensor->backend (#10840)
authorAkarshan Biswas <redacted>
Fri, 20 Dec 2024 15:31:28 +0000 (21:01 +0530)
committerGitHub <redacted>
Fri, 20 Dec 2024 15:31:28 +0000 (23:31 +0800)
commiteb5c3dc64bd967f2e23c87d9dec195f45468de60
treea9bcd6bccbccd63044c0e3429b6b78c72d2ccd76
parent0ca416c91aea4549d9c77e3efeca403e15aa6c75
SYCL: Migrate away from deprecated ggml_tensor->backend (#10840)

* Migrate to tensor->buffer for checking backend buffer type: 1

* SYCL: common.cpp try to migrate away from tensor->backend

* SYCL: fix assertions and add proper comments

* SYCL: remove extra space

* SYCL: Add back static to ggml_backend_buffer_is_sycl_split function

* SYCL: Add pragma directive to suppress warning spam

* SYCL: Integrate debug logs with GGML_LOG and other fixes

* Revert "SYCL: Integrate debug logs with GGML_LOG and other fixes"

This reverts commit 2607b7de0f0d2f4f1f690226f86fa861aa39cb97.
Let's keep the current SYCL specific logging mechanism for now

* SYCL: Use GGML_SYCL_DEBUG after reverting

* SYCL: reg_get_proc_address func, update to the current func signature

* SYCL: Refactor SYCL buffer checks in ggml_sycl_cpy_tensor_2d
ggml/src/ggml-sycl/common.cpp
ggml/src/ggml-sycl/common.hpp
ggml/src/ggml-sycl/ggml-sycl.cpp