ggml : tag ggml_tensor::backend as deprecated (#7290)

This commit is contained in:
slaren
2024-05-15 15:08:48 +02:00
committed by GitHub
parent 9a17ab914b
commit 344f9126cc
4 changed files with 12 additions and 17 deletions

3
ggml.h
View File

@@ -565,7 +565,8 @@ extern "C" {
// n-dimensional tensor
struct ggml_tensor {
enum ggml_type type;
enum ggml_backend_type backend;
GGML_DEPRECATED(enum ggml_backend_type backend, "use the buffer type to find the storage location of the tensor");
struct ggml_backend_buffer * buffer;