]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
SYCL: Migrate away from deprecated ggml_tensor->backend (llama/10840)
authorAkarshan Biswas <redacted>
Fri, 20 Dec 2024 15:31:28 +0000 (21:01 +0530)
committerGeorgi Gerganov <redacted>
Fri, 3 Jan 2025 12:00:38 +0000 (14:00 +0200)
commitcc8c4e41d1cce095a3ec6b97e669a5c570cf24b8
tree7fac79614f6ca975d04b89ebf30f31b30108c8f3
parentfefdce0fa3dd86fb61ee72ebbcc0aecbf1ca1666
SYCL: Migrate away from deprecated ggml_tensor->backend (llama/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
src/ggml-sycl/common.cpp
src/ggml-sycl/common.hpp
src/ggml-sycl/ggml-sycl.cpp