Commit 01ad35e
authored
CANN: Define
**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.cann_graph_update_required before macro (ggml-org#17434)1 parent fcb0138 commit 01ad35e
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2303 | 2303 | | |
2304 | 2304 | | |
2305 | 2305 | | |
| 2306 | + | |
2306 | 2307 | | |
2307 | 2308 | | |
2308 | | - | |
2309 | 2309 | | |
2310 | 2310 | | |
2311 | 2311 | | |
| |||
2336 | 2336 | | |
2337 | 2337 | | |
2338 | 2338 | | |
2339 | | - | |
2340 | 2339 | | |
2341 | 2340 | | |
2342 | 2341 | | |
| |||
0 commit comments