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/04/20 01:49:55 UTC

[GitHub] [tvm] zhanghaohit commented on a change in pull request #6126: [VTA][OpenCL] intelfocl

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:
users@infra.apache.org