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

Commit 90e406b

Browse files
author
Sven Verdoolaege
committed
test_cuda_mapper_memory_promotion.cc: drop explicit parameter name setting
Since ca98a28 (makeSpecializationSet: do not assume parameters have a fixed position, Fri Apr 6 15:11:17 2018 +0200), it is no longer required to first add the parameters to the space passed to isl::makeSpecializationSet.
1 parent 3aac69f commit 90e406b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/test_cuda_mapper_memory_promotion.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,7 @@ def fun(float(N, M) A, float(N, M) B) -> (C) {
263263
EXPECT_EQ(groups.size(), 3u);
264264

265265
USING_MAPPING_SHORT_NAMES(BX, BY, BZ, TX, TY, TZ);
266-
isl::space blockSpace = isl::space(ctx, 2);
267-
blockSpace = blockSpace.set_dim_id(isl::dim_type::param, 0, BX)
268-
.set_dim_id(isl::dim_type::param, 1, BY);
266+
isl::space blockSpace = isl::space(ctx, 0);
269267
isl::set blockZero =
270268
isl::makeSpecializationSet<int>(blockSpace, {{BX, 0}, {BY, 0}});
271269

0 commit comments

Comments
 (0)