Skip to content

Commit

Permalink
compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Apr 7, 2022
1 parent 2b8c430 commit 5e6b0a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/tvm/meta_schedule/schedule_rule/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from .add_rfactor import AddRFactor
from .auto_inline import AutoInline
from .cross_thread_reduction import CrossThreadReduction
from .multi_level_tiling import MultiLevelTiling, ReuseType
from .multi_level_tiling import MultiLevelTiling, MultiLevelTilingVNNI, ReuseType
from .parallel_vectorize_unroll import ParallelizeVectorizeUnroll
from .random_compute_location import RandomComputeLocation
from .schedule_rule import PyScheduleRule, ScheduleRule
2 changes: 1 addition & 1 deletion src/meta_schedule/schedule_rule/multi_level_tiling.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class MultiLevelTilingNode : public ScheduleRuleNode {
}

static constexpr const char* _type_key = "meta_schedule.MultiLevelTiling";
TVM_DECLARE_FINAL_OBJECT_INFO(MultiLevelTilingNode, ScheduleRuleNode);
TVM_DECLARE_BASE_OBJECT_INFO(MultiLevelTilingNode, ScheduleRuleNode);
};

} // namespace meta_schedule
Expand Down
4 changes: 3 additions & 1 deletion src/meta_schedule/schedule_rule/multi_level_tiling_vnni.cc
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,10 @@ class MultiLevelTilingVNNINode : public MultiLevelTilingNode {
return MultiLevelTilingNode::ApplySubRules(states);
}

public:

static constexpr const char* _type_key = "meta_schedule.MultiLevelTilingVNNI";
// TVM_DECLARE_FINAL_OBJECT_INFO(MultiLevelTilingVNNINode, MultiLevelTilingNode);
TVM_DECLARE_FINAL_OBJECT_INFO(MultiLevelTilingVNNINode, MultiLevelTilingNode);
};

// Constructor
Expand Down

0 comments on commit 5e6b0a0

Please sign in to comment.