Commit aeb7599
Skip leading size-1 dims when locating innermost contiguous run
verifyBDSizesStrides previously treated dim 0 as the innermost
contiguous run, but a leading size-1 dim is a DMA no-op and does not
constrain alignment. Walk past leading size-1 entries to find the real
innermost dim before applying the granularity and stride-alignment
checks.
Also drop the degenerate dimensionsToStream=[(1,2),(1,1)] from the
vector_reduce_max memtile designs; it lowered to a zero-effect layout
that only existed to work around the old verifier and is rejected by
the unified helper.
Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>1 parent ef4442c commit aeb7599
3 files changed
Lines changed: 16 additions & 10 deletions
File tree
- lib/Dialect/AIE/IR
- programming_examples/basic/vector_reduce_max/single_column_designs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2210 | 2210 | | |
2211 | 2211 | | |
2212 | 2212 | | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
2213 | 2220 | | |
2214 | 2221 | | |
2215 | | - | |
| 2222 | + | |
2216 | 2223 | | |
2217 | 2224 | | |
2218 | | - | |
| 2225 | + | |
2219 | 2226 | | |
2220 | | - | |
| 2227 | + | |
2221 | 2228 | | |
2222 | 2229 | | |
2223 | 2230 | | |
| |||
2235 | 2242 | | |
2236 | 2243 | | |
2237 | 2244 | | |
2238 | | - | |
2239 | | - | |
2240 | | - | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
2241 | 2248 | | |
2242 | | - | |
| 2249 | + | |
2243 | 2250 | | |
2244 | 2251 | | |
2245 | 2252 | | |
| |||
2257 | 2264 | | |
2258 | 2265 | | |
2259 | 2266 | | |
2260 | | - | |
| 2267 | + | |
2261 | 2268 | | |
2262 | 2269 | | |
2263 | 2270 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
| |||
0 commit comments