Hi Experts, as the topic said, the thread hangs there and block the programe, and the testing is on Windows.
do
{
std::thread th = std::thread([argc, argv]() {
test_tvm_cam_facedetector(argc, argv);
printf("test_tvm_cam_facedetector done \n");
});
th.join();
} while (false);
printf("th.join() done \n");
when i use the command parameter to make TVM run in GPU mode, everything is fine;
but when make TVM run in CPU mode, the programe stuck at: th.join(), and the console print out:
test_tvm_cam_facedetector done
This means all my application logic and thread is done. So i use the Process Explorer to check the stack, and there are really not anything about application logic and thread information, and i found something:
It seems it stuck on backend paral jobs. I donât understand and how to solve this issue.
Looking forward to your reply, Thanks.