]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
CANN: Define `cann_graph_update_required` before macro (llama/17434)
authorRaul Torres <redacted>
Mon, 24 Nov 2025 02:02:52 +0000 (02:02 +0000)
committerGeorgi Gerganov <redacted>
Thu, 11 Dec 2025 13:32:43 +0000 (15:32 +0200)
commit1faf24c005b06158ad201285f2ef84dfe8a94ae8
tree0199f46352b41eb3e2016e3ab859cf36366d8350
parentc0c88ae7fb2168406034300efa219b3ea5803628
CANN: Define `cann_graph_update_required` before macro (llama/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.
src/ggml-cann/ggml-cann.cpp