junrushao1994 commented on pull request #5585:
URL: https://github.com/apache/incubator-tvm/pull/5585#issuecomment-630957728


   Just to share some interesting updates on the stack utilization issue: 
   
   I dig around with gcc `-fstack-usage`.
   
   ```
   # before this change
   virtual tvm::relay::Expr 
tvm::relay::CommonSubexprEliminator::VisitExpr_(const tvm::relay::CallNode*)    
    1072    static
   # after this change
   virtual tvm::relay::Expr 
tvm::relay::CommonSubexprEliminator::VisitExpr_(const tvm::relay::CallNode*)    
    4720    dynamic,bounded
   ```
   
   The takeaway is that the stack frame changes from the one with static size 
to the one with dynamic but bounded size. The worst case utilization 4720 
becomes much larger than the constant size 1072 before
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to