Skip to content

Commit

Permalink
Merge pull request apache#10 from microsoft/yanchen/nuphar/skip-warning
Browse files Browse the repository at this point in the history
disable a warning for now
  • Loading branch information
yangchen-MS authored Jun 19, 2020
2 parents bc90dd6 + 0968572 commit eab844a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/arithmetic/int_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,9 @@ class IntSetEvaluator :
return Eval(op->value);
}
IntSet VisitExprDefault_(const Node* op, const Expr& e) final {
#if 0
LOG(WARNING) << "cannot evaluate set type " << e->type_key();
#endif
return IntSet::everything();
}

Expand Down
2 changes: 2 additions & 0 deletions src/pass/arg_binder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,13 @@ void ArgBinder::BindBuffer(const Buffer& arg,
CHECK_EQ(arg->dtype, value->dtype)
<< "Argument " << arg_name
<< " Buffer bind data type mismatch";
#if 0
if (value->data_alignment % arg->data_alignment != 0) {
LOG(WARNING) << "Trying to bind buffer to another one with lower alignment requirement "
<< " required_alignment=" << arg->data_alignment
<< ", provided_alignment=" << value->data_alignment;
}
#endif
// bind pointer and offset.
if (is_zero(arg->elem_offset)) {
CHECK(is_zero(value->elem_offset))
Expand Down

0 comments on commit eab844a

Please sign in to comment.