Is it possible to specify a maximum number of threads to use for each algorithm call?
I’m pleased to announce that a new major release Intel® Threading Building Blocks 4.2 is available for download. The new version contains many interesting features – explore more in the what’s new article.
Try the new version – you can download the open source package as usual from the product site. Commercial version is available at Intel Registration Center.
Is it possible to combine Intel TBB and fibres (lightweight, cooperatively scheduler threads) that use e.g., ucontext.h (getcontext, setcontext and swapcontext) ?
I would like to choose the fastest available intel cpu for my multi-threaded program which highly uses TBB.
I was thinking of 2 of 8 cores CPUs maybe? Xeon E5, or E7 ? maybe i7 3rd or 4th generation?
What would you suggest?
I am trying to provide my allocator for the tbb::concurrent_unordered_map to do a custom action on the value, but the destroy method of the allocator receives a pointer of the flist_iterator type which has the protected my_node_ptr variable. So I can not access it.
What is the right way to provide a custom action on the destroy? (besides modifying the tbb source code)
Note: the value is a pointer and I can not wrap it into a struct as value, I need to have my allocator.
I have a parallel_for loop executing various tasks in parallel. It is known ahead of time that certain tasks among those tasks will take a little longer than other tasks and require more computation. Is it possible to assign higher priority to certain tasks in a parallel for loop?
If it helps, here is some (pseudo)code for my parallel_for loop below:
I ran into this error compiling an application with TBB 4.1.4 and Clang++ 3.3:
I am looking for a concurrent map with the ability to insert, erase, and traverse concurrently.
In the concurrent_unordered_map, the erase methods are prefixed with unsafe_ to indicate that they are not concurrency safe.
What exactly happens if I use the unsafe_erase concurrenly with iterator or insertion? How dangerous is that?
1. Can I use TBB in hard-real time applications ? (if the answer is no, please explain why ?)
2. Can I use TBB in soft-real time applications ? (if the answer is no, please explain why ?)
It is very importent to explain why or why not.
I am looking for a commercial product which has the functionality of TBB Flow graph but works on distributed system. I'd appricate any pointer. Avalanche from Indiana University is the closest one I can find on the Internet.