zhanghaohit commented on a change in pull request #6126:
URL: https://github.com/apache/tvm/pull/6126#discussion_r616286863
##########
File path: src/runtime/workspace_pool.cc
##########
@@ -115,7 +115,7 @@ class WorkspacePool::Pool {
}
// Release all resources
void Release(Device dev, DeviceAPI* device) {
- ICHECK_EQ(allocated_.size(), 1);
+ // ICHECK_EQ(allocated_.size(), 1);
Review comment:
I think there may be more than 1 if there are multiple device
workspaces, e.g., both FPGA and CPU devices. In this case, the check will fail.
--
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]