I need to generate LLVM code that will serve a lot of threads/tasks (hundreds of thousands). These threads should be lightweight like Intel TBB's tasks, golang gorutines or other. Of course they can be implemented with external C++ libraries like mentioned Intel TBB (if it is compatible with LLVM).
I was searching for long time for any information about threading in LLVM and I haven't found much. In the documentation of LLVM there are described some API calls but I think it's not what I'm looking for.
So there are few questions:
In that discussion it was quickly pointed out by LLVM lead developer Chris Lattner that with the new MLIR representation that its pass manager is implicitly and automatically multi-threaded.
PHP applications, undoubtedly work effectively with multithreading capabilities. Multithreading is something similar to multitasking, but it enables to process multiple jobs at one time, rather than on multiple processes.
Actually there seems to be a few projects out there that uses intel TBB and LLVM, for example Intel's own opencl SDK used TBB and LLVM for its compiler, http://software.intel.com/en-us/articles/vcsource-tools-opencl-sdk/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With