This repository was archived by the owner on Apr 28, 2023. It is now read-only.
Commit fcfc897
committed
Avoid reconstructing HalideComponents from TC lang
TcExecutor creates and holds an instance of HalideComponents in
constructor. At the same time, in "compile" call, it passes unparsed TC
string to makeScop. The latter creates a new instance of
HalideComponents internally, which leads to inference warnings being
emitted twice. Use makeScop overload that takes HalideComponents
instead to avoid double parsing and analysis.1 parent de59ea2 commit fcfc897
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| |||
0 commit comments