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

Commit 33f51a0

Browse files
author
Sven Verdoolaege
committed
emitMappedTensorAccess: use isl::multi_aff::set_range_tuple_id
This removes a use of isl::dim_type, which will not be exported in mainline isl.
1 parent a10ebf8 commit 33f51a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tc/core/polyhedral/cuda/codegen.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ void emitMappedTensorAccess(
674674
auto access =
675675
makeMultiAffAccess(tensorId, subscripts, context); // MA :: D -> O
676676
auto promotion = promotionInfo.group->promotion(); // MA :: [S -> O] -> P
677-
promotion = promotion.set_tuple_id(isl::dim_type::out, promotionInfo.groupId);
677+
promotion = promotion.set_range_tuple_id(promotionInfo.groupId);
678678
auto iteratorMap = context.iteratorMap(); // PMA :: A -> D
679679
auto schedule =
680680
isl::map::from_union_map(promotionInfo.outerSchedule.intersect_domain(

0 commit comments

Comments
 (0)