Commit 09d2e0d
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 0a3bd6a commit 09d2e0d
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2324 | 2324 | | |
2325 | 2325 | | |
2326 | 2326 | | |
2327 | | - | |
2328 | | - | |
2329 | | - | |
| 2327 | + | |
| 2328 | + | |
2330 | 2329 | | |
| 2330 | + | |
| 2331 | + | |
2331 | 2332 | | |
2332 | 2333 | | |
2333 | 2334 | | |
| |||
2344 | 2345 | | |
2345 | 2346 | | |
2346 | 2347 | | |
2347 | | - | |
2348 | 2348 | | |
2349 | 2349 | | |
2350 | 2350 | | |
| |||
0 commit comments