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

Commit 05d3433

Browse files
author
Sven Verdoolaege
committed
test_cuda_mapper_memory_promotion.cc: use newly added isl_set_from_multi_aff
1 parent f28d3c9 commit 05d3433

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
@@ -274,9 +274,7 @@ def fun(float(N, M) A, float(N, M) B) -> (C) {
274274
EXPECT_EQ(groups.size(), 3u);
275275

276276
isl::space tileSpace = isl::space(ctx, 0).unnamed_set_from_params(2);
277-
// Work around missing isl_set_from_multi_aff.
278-
auto tileZero =
279-
isl::map(isl::multi_aff::zero(tileSpace.from_range())).range();
277+
auto tileZero = isl::set::from(isl::multi_aff::zero(tileSpace));
280278

281279
// Must have groups for these tensors, in arbitrary order.
282280
unordered_set<string> names{"A", "B", "C"};

0 commit comments

Comments
 (0)