Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 10c4f35

Browse files
authored
Merge pull request #24 from facebookresearch/avoid-reparsing-tc
Avoid reconstructing HalideComponents from TC lang
2 parents de59ea2 + fcfc897 commit 10c4f35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/tc_executor.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ std::vector<int> narrowParamsVector(const std::vector<long>& params) {
287287
void TcExecutor::compileWithTcMapper() {
288288
// A bit chicken-and-eggy, need scop from TC to have the space to build the
289289
// context to specialize the scop..
290-
auto scopTmp = polyhedral::Scop::makeScop(ctx_, tcTree_);
290+
auto scopTmp = polyhedral::Scop::makeScop(ctx_, halideComponents_);
291291
auto globalParameterContext =
292292
scopTmp->makeContextFromInputs(extractRawPtrs(execInfo_.inputsInfo));
293293
scopTmp = polyhedral::Scop::makeSpecializedScop(

0 commit comments

Comments
 (0)