Skip to content

Commit

Permalink
Remove unused codes for move_source_slice_window.
Browse files Browse the repository at this point in the history
  • Loading branch information
whchung committed Jun 6, 2020
1 parent 5193b91 commit 228a600
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mlir/include/mlir/Dialect/MIOpen/LowerMIOpenOps.h
Expand Up @@ -1588,10 +1588,6 @@ struct BlockwiseCopyRewritePattern : public OpRewritePattern<miopen::BlockwiseCo
// mThreadwiseLoad.SetSrcSliceOrigin(src_block_slice_origin + thread_data_id_begin);
// mThreadwiseLoad.SetDstSliceOrigin(make_zero_array<index_t, nDim>());
auto threadwiseCopyOp = b.create<miopen::ThreadwiseCopyOp>(op.getLoc(), op.source(), op.dest());
// Pass blockwise-level attribute to threadwise op.
if (op.getAttr("move_source_slice_window")) {
threadwiseCopyOp.setAttr("move_source_slice_window", op.getAttr("move_source_slice_window"));
}
} else if (sourceType.getMemorySpace() == 5 && destType.getMemorySpace() == 3) {
// Threadwise copy from register (naive tensor) to LDS (naive tensor).
// TBD add attributes from C++ template arguments and ctor arguments.
Expand Down

0 comments on commit 228a600

Please sign in to comment.