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 2022/12/04 08:18:16 UTC

[GitHub] [tvm] SZNero opened a new issue, #13546: [Bug] Get Function("run") runned in std::thread ,the thread would not exit correctly

SZNero opened a new issue, #13546:
URL: https://github.com/apache/tvm/issues/13546

   ### Expected behavior
   
   i want it run in std::thread to do a job, and  exit correctly.but faild.
   
   ### Actual behavior
   when the thread exit,it will throw a exception called urctbase.pdb not loaded.
   
   ### Environment
   
   vs 2019 and vs2022 happended the same thing.
   cuda 10.1 
   i tried tvm v0.10.0 and v0.11.0
   
   ### Steps to reproduce
   
   ```
    void test(){
       myTvmClass tvm;
      tvm.loadModule();
   cv::Mat image = cv::imread(path);
   tvm.run(image);
   
   }
   int main(){
   std::thread(test).join();
   return 0;
   }
   ```
   
   


-- 
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: commits-unsubscribe@tvm.apache.org.apache.org

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


[GitHub] [tvm] masahi closed issue #13546: [Bug] Get Function("run") runned in std::thread ,the thread would not exit correctly

Posted by GitBox <gi...@apache.org>.
masahi closed issue #13546: [Bug] Get Function("run") runned in std::thread ,the thread would not exit correctly
URL: https://github.com/apache/tvm/issues/13546


-- 
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: commits-unsubscribe@tvm.apache.org

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


[GitHub] [tvm] SZNero commented on issue #13546: [Bug] Get Function("run") runned in std::thread ,the thread would not exit correctly

Posted by GitBox <gi...@apache.org>.
SZNero commented on issue #13546:
URL: https://github.com/apache/tvm/issues/13546#issuecomment-1338651049

   yes,this is a tvm's problem. i used the debug tvm_runtime.dll. and when i finished the thread, it would be crashed in "~WorkspacePool()" at the line number 146 "array_[i]->Release(dev, device_);"
   because time is urgent,i am diable this line now. and the project is running well.


-- 
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: commits-unsubscribe@tvm.apache.org

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


[GitHub] [tvm] masahi commented on issue #13546: [Bug] Get Function("run") runned in std::thread ,the thread would not exit correctly

Posted by GitBox <gi...@apache.org>.
masahi commented on issue #13546:
URL: https://github.com/apache/tvm/issues/13546#issuecomment-1336520909

   This doesn't sound like a TVM's problem.


-- 
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: commits-unsubscribe@tvm.apache.org

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