oneTBB
oneTBB copied to clipboard
oneAPI Threading Building Blocks (oneTBB)
Currently market notifies RML about surplus threads at the time of without of work. However, some workers can not leave arena immediately, but counted as workers to join other arenas....
In some cases it is convenient to build a single node type (sender/receiver) which is composed of multiple other nodes (e.g. function node with bounded queueing policy, which requires limiter...
Add statistics collection in TBB Configure cmake: `cmake .. -DCMAKE_CXX_FLAGS="-D__TBB_STATISTICS=1"` Example output: ``` executed try get got try steal stolen empty vic pool 16 16 15 0 0 0 0...
Signed-off-by: Vladislav Shchapov ### Description test_malloc_shutdown_hang (Debug build): Assertion isMallocInitialized() failed Fixes #558 (workaround) - [x] - git commit message contains appropriate signed-off-by string _(see [CONTRIBUTING.md](https://github.com/oneapi-src/oneTBB/blob/master/CONTRIBUTING.md#pull-requests) for details)_ ### Type...
### Description Haiku supporting patches ### Type of change - [ ] bug fix - _change which fixes an issue_ - [ ] new feature - _change which adds functionality_...
This allows to significantly reduce CPU system time while spinning, as apparently nanosleep deschedules the thread for a longer time. See https://github.com/01org/tbb/issues/105. On the test presented there, this patch offers...
Uable to use `std::unique_lock` with `tbb::speculative_spin_mutex` with gcc `-mrtm` on. When I turn on the gcc `-mrtm` option, `tbb::speculative_spin_mutex` becomes a type alias of `tbb::detail::d1::rtm_mutex`, https://github.com/oneapi-src/oneTBB/blob/534428d0f80538f500d524f037373cf61d721caf/include/oneapi/tbb/spin_mutex.h#L126 `tbb::detail::d1::rtm_mutex` has a base...