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

Commit ed413cc

Browse files
committed
add a matcher for thread-specific marker nodes
1 parent 3ed7f4a commit ed413cc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tc/core/polyhedral/schedule_tree_matcher-inl.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ inline ScheduleTreeMatcher context(Args... children) {
6161
return ScheduleTreeMatcher(detail::ScheduleTreeType::Context, children...);
6262
}
6363

64+
template <typename... Args>
65+
inline ScheduleTreeMatcher threadSpecific(Args... children) {
66+
return ScheduleTreeMatcher(
67+
detail::ScheduleTreeType::ThreadSpecificMarker, children...);
68+
}
69+
6470
template <typename... Args>
6571
inline ScheduleTreeMatcher filter(
6672
std::function<bool(isl::union_set)> propertyMatcher,

0 commit comments

Comments
 (0)