Commit 6f2331b
authored
Cortex-M backend: add cortex-m7 to the trunk e2e CI matrix (pytorch#19730)
### Summary
Extends `_test_cortex_m_e2e.yml` with a `targets` input that joins the
existing `model` matrix to give a target × model cross product, so trunk
can exercise the same suite against multiple Cortex-M variants. The
trunk job opts in to `["cortex-m55", "cortex-m7"]`; the nightly job (and
any future caller that doesn't pass `targets`) falls back to the
M55-only default and keeps its current shape.
Cortex-M7 is the first non-MVE variant to enter CI. It exercises the
DSP-class CMSIS-NN kernel paths (selected via `__ARM_FEATURE_DSP`),
covering the build plumbing that threads `-mcpu=cortex-m7` through to
both the runner and the core libraries.
`pull.yml`'s `test-mcu-cortex-m-backend` is intentionally left at
M55-only — per-PR coverage is deferred until the trunk M7 leg
demonstrates stability over a few cycles.
### Test plan
CI
Authored with Claude.1 parent 10bc51e commit 6f2331b
3 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
| 26 | + | |
26 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| |||
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | | - | |
| 34 | + | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| |||
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
47 | | - | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1075 | 1075 | | |
1076 | 1076 | | |
1077 | 1077 | | |
| 1078 | + | |
0 commit comments