]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml: add graph_reused (llama/21764)
authorAman Gupta <redacted>
Thu, 16 Apr 2026 09:21:28 +0000 (17:21 +0800)
committerGeorgi Gerganov <redacted>
Thu, 30 Apr 2026 08:29:11 +0000 (11:29 +0300)
commit820438ae2c60aa9c5fd9a20edb085b414139440d
treef75a6bafa1e9165c8938859d5d25e0aeae51ea91
parent655c0750f5a027817fa3038f17232dd3bf717480
ggml: add graph_reused (llama/21764)

* ggml: add graph_reused

* use versioning instead of reuse flag

* increment version with atomic

* use top bits for split numbering

* add assert

* move counter to ggml.c

* set uid in split_graph only

* fix windows

* address further review comments

* get next_uid rather than doing bit manipulation

* rename + add comment about uid
ggml/src/ggml-backend.cpp
ggml/src/ggml-cuda/common.cuh
ggml/src/ggml-cuda/ggml-cuda.cu
ggml/src/ggml-impl.h
ggml/src/ggml.c