Commit 7e07f72
committed
compiler: Lift lower_sparse_ops out of mpiize into _lower_iet
Sparse-op lowering belongs at the IET-pass level alongside other
target-independent structural lowerings, not buried inside the MPI
pass. Lifting it also fixes a missed host-device transfer on GPU:
the position/coefficient temps it materialises read the coordinate
SubFunctions, but those reads were invisible to place_transfers
because Graph.data_movs was snapshotted before mpiize ran.
Graph.data_movs is now a property recomputed from the live efunc
set so downstream passes see ExprStmts introduced after Graph
construction.1 parent 0f1f9eb commit 7e07f72
3 files changed
Lines changed: 29 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
499 | 497 | | |
| 498 | + | |
500 | 499 | | |
501 | 500 | | |
502 | 501 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
94 | 107 | | |
95 | 108 | | |
96 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
390 | 389 | | |
391 | 390 | | |
392 | 391 | | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | 392 | | |
399 | 393 | | |
400 | 394 | | |
| |||
403 | 397 | | |
404 | 398 | | |
405 | 399 | | |
406 | | - | |
407 | | - | |
408 | 400 | | |
409 | 401 | | |
410 | 402 | | |
| |||
0 commit comments