]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml-alloc : remove buffer_id from leaf_alloc (#987)
authorDaniel Bevenius <redacted>
Wed, 9 Oct 2024 14:40:35 +0000 (16:40 +0200)
committerGitHub <redacted>
Wed, 9 Oct 2024 14:40:35 +0000 (16:40 +0200)
commit2327bda7a55ac6b72614ac5ebd5c5a5e02553b9b
tree1ce30e4e0f09cfd030a54a036242a4a58c2b1d27
parent2d6eb590f9f114a4754bd5a919227951fb539e2c
ggml-alloc : remove buffer_id from leaf_alloc (#987)

This commit removes the buffer_id field from the leaf_alloc struct.

The motivation for is that this field is only written to and never
read/used as far as I can tell. Each tensor_alloc has a buffer_id field
and this is what caused me to look into this more closely, to
understand what the buffer_id in leaf_alloc was used for.
src/ggml-alloc.c