Commit 9b94d54
authored
[rocRoller] AIROCROLL-1580 Rename bodyParents to containingAncestors, and augment return value with the containing edge type. (ROCm#6100)
## Motivation
This PR renames the KernelGraph helper previously called `bodyParents`
to `containingAncestors`, expands its return value to include the
containing edge type, and ports the `ControlGraph` tests from gtest to
Catch2.
## Technical Details
- Replaced `bodyParents(...)` with `containingAncestors(...)` and
updated consumers to handle the returned `(node, edge)` pair.
- Updated `controlStack(...)` to build from `containingAncestors(...)`.
- Moved `ControlGraphTest` from `test/unit` (gtest) to `test/catch`
(Catch2) and adjusted CMake sources accordingly.1 parent a9a0519 commit 9b94d54
8 files changed
Lines changed: 735 additions & 704 deletions
File tree
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
805 | | - | |
806 | | - | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
807 | 808 | | |
808 | | - | |
| 809 | + | |
| 810 | + | |
809 | 811 | | |
810 | 812 | | |
811 | | - | |
812 | | - | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
813 | 816 | | |
814 | | - | |
| 817 | + | |
| 818 | + | |
815 | 819 | | |
816 | 820 | | |
817 | | - | |
818 | | - | |
| 821 | + | |
| 822 | + | |
819 | 823 | | |
820 | 824 | | |
821 | 825 | | |
822 | 826 | | |
823 | | - | |
824 | | - | |
| 827 | + | |
| 828 | + | |
825 | 829 | | |
826 | 830 | | |
827 | 831 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
435 | | - | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
436 | 441 | | |
437 | 442 | | |
438 | 443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1601 | 1601 | | |
1602 | 1602 | | |
1603 | 1603 | | |
1604 | | - | |
| 1604 | + | |
| 1605 | + | |
1605 | 1606 | | |
1606 | | - | |
| 1607 | + | |
1607 | 1608 | | |
1608 | 1609 | | |
1609 | | - | |
| 1610 | + | |
| 1611 | + | |
1610 | 1612 | | |
1611 | 1613 | | |
1612 | 1614 | | |
| |||
1625 | 1627 | | |
1626 | 1628 | | |
1627 | 1629 | | |
1628 | | - | |
1629 | | - | |
| 1630 | + | |
| 1631 | + | |
1630 | 1632 | | |
1631 | | - | |
| 1633 | + | |
1632 | 1634 | | |
1633 | 1635 | | |
1634 | 1636 | | |
| |||
1639 | 1641 | | |
1640 | 1642 | | |
1641 | 1643 | | |
1642 | | - | |
| 1644 | + | |
1643 | 1645 | | |
1644 | 1646 | | |
1645 | 1647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | | - | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
84 | | - | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
0 commit comments