Skip to content

Commit

Permalink
cpplint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
masa committed Jul 13, 2021
1 parent 1c67a7d commit fe626f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tir/transforms/bf16_legalize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ class BF16LowerRewriter : public StmtExprMutator {
DataType dtype = DataType::UInt(16, oldbuf->dtype.lanes());
Var buffer_var = Var(oldbuf->data->name_hint, PointerType(PrimType(dtype)));
auto newbuf = Buffer(buffer_var, dtype, oldbuf->shape, oldbuf->strides, oldbuf->elem_offset,
oldbuf->name, oldbuf->data_alignment,
oldbuf->offset_factor, oldbuf->buffer_type);
oldbuf->name, oldbuf->data_alignment, oldbuf->offset_factor,
oldbuf->buffer_type);
buffer_remap_[oldbuf] = newbuf;
var_remap_[oldbuf->data] = buffer_var;
changes.emplace_back(itr.first, newbuf);
Expand Down

0 comments on commit fe626f3

Please sign in to comment.