Commit 9b46ace1 by egolearner Committed by Tianqi Chen

make tvm compilable by gcc 4.9.2 (#4032)

please see https://stackoverflow.com/a/26949099
parent 8f18cc44
......@@ -522,7 +522,7 @@ TVM_REGISTER_API("test.op.MatchTensorizeBody")
CHECK(stage->op.as<ComputeOpNode>());
*ret = MatchTensorizeBody(stage->op.as<ComputeOpNode>(),
stage,
{},
{{}},
as_unordered_map(out_dom),
as_unordered_map(in_region),
intrin,
......
......@@ -43,7 +43,7 @@ class WellFormedChecker : private ExprVisitor, PatternVisitor {
struct Scope {
WellFormedChecker* wfc;
explicit Scope(WellFormedChecker* wfc) : wfc(wfc) {
wfc->scope.push_back({});
wfc->scope.push_back({{}});
}
~Scope() {
CHECK_GE(wfc->scope.size(), 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment