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

Commit be1528c

Browse files
Remove detail qualifier from test_cuda_mapper.cc
1 parent c41e8fb commit be1528c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

test/test_cuda_mapper.cc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ using namespace tc;
4646
using namespace tc::polyhedral;
4747
using namespace tc::polyhedral::detail;
4848

49-
using tc::polyhedral::detail::fromIslSchedule;
50-
using tc::polyhedral::detail::toIslSchedule;
51-
5249
struct PolyhedralMapperTest : public ::testing::Test {
5350
std::unique_ptr<Scop> Prepare(std::string tc) {
5451
auto ctx = isl::with_exceptions::globalIslCtx();
@@ -87,8 +84,7 @@ struct PolyhedralMapperTest : public ::testing::Test {
8784
auto band = mscop->mapBlocksForward(root->child({0}), 1);
8885
bandScale(band, tileSizes);
8986

90-
auto ns = detail::ScheduleTree::collectDFSPostorder(
91-
root, detail::ScheduleTreeType::Band);
87+
auto ns = ScheduleTree::collectDFSPostorder(root, ScheduleTreeType::Band);
9288
mscop->mapThreadsBackward(ns[1]);
9389
mscop->insertMappingContext();
9490
return mscop;
@@ -132,7 +128,7 @@ struct PolyhedralMapperTest : public ::testing::Test {
132128
auto islNode = toIslSchedule(schedule2.get()).get_root().child(0);
133129
auto mv = isl::makeMultiVal(
134130
schedule2->child({0})
135-
->elemAs<detail::ScheduleTreeElemBand>()
131+
->elemAs<ScheduleTreeElemBand>()
136132
->mupa_.get_space(),
137133
tileSizes);
138134
islNode = islNode.as<isl::schedule_node_band>().tile(mv);
@@ -758,7 +754,6 @@ def fun(float(N, M) A, float(N, M) B) -> (C,D) {
758754
auto tiledBand =
759755
ScheduleTree::makeScheduleTree(*scop->tileOuterBand(tiling.view));
760756

761-
using detail::ScheduleTreeElemBand;
762757
ASSERT_TRUE(maxMinOuterBand->elemAs<ScheduleTreeElemBand>());
763758
ASSERT_TRUE(maxMaxOuterBand->elemAs<ScheduleTreeElemBand>());
764759
ASSERT_TRUE(tiledBand->elemAs<ScheduleTreeElemBand>());

0 commit comments

Comments
 (0)