kparzysz-quic commented on a change in pull request #5492: URL: https://github.com/apache/incubator-tvm/pull/5492#discussion_r421517804
########## File path: src/runtime/hexagon/sim/driver/pthread.h ########## @@ -0,0 +1,96 @@ +/* Review comment: The reason why this is here is to be able to run programs that use pthreads on the simulator, at least many of them. The simulator does not support threads, there is only one execution thread at any time. When you have a TVM schedule that uses `parallel`, it will use `std::thread`, which under the covers will call pthread functons. We still want to be able to run it on the simulator (although with only 1 thread). ---------------------------------------------------------------- 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: us...@infra.apache.org