diff options
author | slaren <slarengh@gmail.com> | 2024-05-15 15:08:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-15 15:08:48 +0200 |
commit | 344f9126cc0d15891fde9472fe40b8572628ad7d (patch) | |
tree | ad9ba84a6bda9581609af5114d684f6668b40532 /ggml.h | |
parent | 9a17ab914b0aa7353389c656a3f2a0f086726868 (diff) |
ggml : tag ggml_tensor::backend as deprecated (#7290)
Diffstat (limited to 'ggml.h')
-rw-r--r-- | ggml.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |