]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/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>
Fri, 12 Dec 2025 15:53:06 +0000 (17:53 +0200)
commit5ed0ddc458f9b1ade4b31bdc434209cf45bdbf23
treed3dbcaed97ad9f4a4d09c6db1e8f11257e02dcc0
parent75cea7f8beeb31779736ca42853b69117d69c25d
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.
ggml/src/ggml-cann/ggml-cann.cpp