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

Commit db5b21a

Browse files
author
Sven Verdoolaege
committed
PolyhedralMapperTest.Match1: drop check for the number of parameters
This is a test for the tree matchers, so the number of parameters is not really relevant. isl_space_dim will not get exported in mainline. Perhaps some other mechanism will be introduced later for obtaining the number of parameters, but this use case is not sufficient motivation for introducing one.
1 parent c903c01 commit db5b21a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/test_cuda_mapper.cc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -535,11 +535,7 @@ TEST_F(PolyhedralMapperTest, Match1) {
535535

536536
auto mscop = TileAndMapThreads(std::move(scop), {16, 16}, {32ul, 8ul});
537537
auto f = match(
538-
band(sequence(
539-
filter([](isl::union_set f) {
540-
return f.get_space().dim(isl::dim_type::param) == 3;
541-
}),
542-
filter())),
538+
band(sequence(filter([](isl::union_set f) { return true; }), filter())),
543539
schedule);
544540
EXPECT_EQ(1u, f.size());
545541
}

0 commit comments

Comments
 (0)