Commit 1c8829d
[mlir-tensorrt] fix the way that layer names are set for TensorRT
Previously the layer name was set to the root caller and ignored callee.
This change updates the layer name to capture the last 3 callees to enable
better tracking of locations in the generated TensorRT engine.1 parent d1a8447 commit 1c8829d
File tree
1 file changed
+22
-2
lines changed- mlir-tensorrt/tensorrt/lib/Target/TensorRTEncodingOpInterface
1 file changed
+22
-2
lines changedLines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
236 | 245 | | |
237 | 246 | | |
238 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
239 | 258 | | |
240 | 259 | | |
241 | 260 | | |
| |||
274 | 293 | | |
275 | 294 | | |
276 | 295 | | |
277 | | - | |
| 296 | + | |
| 297 | + | |
278 | 298 | | |
279 | 299 | | |
280 | 300 | | |
| |||
0 commit comments