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

Commit 4f99b71

Browse files
author
Sven Verdoolaege
committed
TensorReferenceGroup::promotion: temporarily remove type deduction
This allows outputRanges to be converted to templated isl types without having to convert TensorReferenceGroup::promotion at the same time. Automatic type deduction will be reintroduced when TensorReferenceGroup::promotion is converted.
1 parent 0c6bb7f commit 4f99b71

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tc/core/polyhedral/memory_promotion.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,10 @@ isl::multi_aff TensorReferenceGroup::promotion() const {
379379
auto originalSpaceInserter = isl::multi_aff::domain_map(accessSpace);
380380

381381
// Lower bounds and offsets space is S -> O; transform into [S -> O] -> O.
382-
auto lowerBounds =
382+
isl::multi_aff lowerBounds =
383383
approximation.lowerBounds().pullback(originalSpaceInserter);
384-
auto offsets = approximation.strideOffsets.pullback(originalSpaceInserter);
384+
isl::multi_aff offsets =
385+
approximation.strideOffsets.pullback(originalSpaceInserter);
385386

386387
// Create promotion starting by identity in [S -> O] -> O.
387388
auto original = isl::multi_aff::range_map(accessSpace);

0 commit comments

Comments
 (0)