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

Commit 1061470

Browse files
author
Sven Verdoolaege
committed
use templated isl types ScopedFootprint.box
1 parent f4f7c6c commit 1061470

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tc/core/polyhedral/memory_promotion.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ isl::map TensorReferenceGroup::approximateScopedAccesses() const {
132132
return accessed;
133133
}
134134

135-
isl::multi_aff ScopedFootprint::lowerBounds() const {
135+
isl::MultiAff<Scope, Tensor> ScopedFootprint::lowerBounds() const {
136136
if (dim() == 0) {
137137
throw promotion::PromotionNYI("promotion for scalars");
138138
}

tc/core/polyhedral/memory_promotion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ struct ScopedFootprint {
5858
return strideOffsets.get_aff(pos);
5959
}
6060

61-
isl::fixed_box box;
61+
isl::FixedBox<Scope, Tensor> box;
6262
isl::MultiVal<Tensor> strideValues;
6363
isl::MultiAff<Scope, Tensor> strideOffsets;
6464

65-
isl::multi_aff lowerBounds() const;
65+
isl::MultiAff<Scope, Tensor> lowerBounds() const;
6666
};
6767

6868
// Descriptor of tensor reference in a Scop.

0 commit comments

Comments
 (0)