You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/05/03 12:53:10 UTC

[GitHub] [tvm] tqchen commented on a change in pull request #7962: [TensorIR][Pass][M1c] FlattenBuffer

tqchen commented on a change in pull request #7962:
URL: https://github.com/apache/tvm/pull/7962#discussion_r625064358



##########
File path: include/tvm/tir/transform.h
##########
@@ -406,6 +406,14 @@ TVM_DLL Pass ConvertBlocksToOpaque();
  */
 TVM_DLL Pass CompactBufferAllocation();
 
+/*!
+ * \brief Flatten the multi-dimensional BufferLoad and BufferStore
+ *        to single dimensional Load/Store. Also remove Block to
+ *        ensure that the flattened TIR can not be scheduled again.
+ * \return The pass.
+ */
+TVM_DLL Pass FlattenBuffer();

Review comment:
       There are mixed names, e.g. Simplify and MakePackedAPI are in different style. Let us go with this name for now




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org