d-smirnov commented on a change in pull request #10189:
URL: https://github.com/apache/tvm/pull/10189#discussion_r832293226
##########
File path: src/tir/analysis/calculate_workspace.cc
##########
@@ -77,6 +69,16 @@ void WorkspaceCalculator::VisitStmt_(const AllocateNode* op)
{
current_size -= size;
}
+void WorkspaceCalculator::VisitStmt_(const AllocateConstNode* op) {
Review comment:
removed duplication for workspace size calculation existed in tir/usmp
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]