]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
CANN: Define `cann_graph_update_required` before macro (#17434)
authorRaul Torres <redacted>
Mon, 24 Nov 2025 02:02:52 +0000 (02:02 +0000)
committerGitHub <redacted>
Mon, 24 Nov 2025 02:02:52 +0000 (10:02 +0800)
commit01ad35e6d65916c74fb3edfbab474c569d818294
tree2751f9500f3b5deddb1046d91ed2eca372964562
parentfcb013847c2c983967e9d8c9a13b16829fb799e6
CANN: Define `cann_graph_update_required` before macro (#17434)

**Description of the problem**

`cann_graph_update_required` is redundantly defined and
initialized as `false` inside two mutually exclusive macro branches.

**Proposed solution**

Define it right before the macro so that it could serve both
branches.
ggml/src/ggml-cann/ggml-cann.cpp