You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 28, 2023. It is now read-only.
Make flattenSequenceOrSet a function template with a static assertion on
allowed types (ScheduleTreeElemSet or ScheduleTreeElemSequence). The
same behavior can also be achieve with std::enable_if, but the error
message is not as clear. This commit illustrates the effects of having
ScheduleTreeElem* inherit from ScheduleTree.
Arguably, this function belongs to schedule_transforms.cc, but this
would invert the inclusion order (schedule_transforms.h includes
schedule_tree.h and not the inverse). Even more arguably, the
flattening should not be automatic in TC schedule trees since they don't
maintain any other isl tree properties. Leaving this discussion to
future work.
0 commit comments