Comments (4)
from onetbb.
Hi @goplanid,
To guarantee parallelism in the inner loop, you could use TBB in the outer loop only. In the inner loop, you could launch numjobs
threads (e.g., with std::thread
) in myfunction_
, with each thread performing an InnerLoopTask
.
You can prevent oversubscription by throttling down the oneTBB concurrency (e.g., to hardware_concurrency
/ numjobs
).
from onetbb.
@goplanid is this issue still relevant?
from onetbb.
If anyone encounter this issue in the future please open new issue with a link to this one
from onetbb.
Related Issues (20)
- tbb::global_control does not stop spinning threads HOT 1
- memset call with invalid value for fill character
- Dangling pointer HOT 1
- Re: Errors compiling Intel OneAPI TBB c++ include file concurrent_vector.h HOT 9
- "Set the oneAPI Environment" every time when I start VSCode!?! HOT 3
- Windows 11 missing tbb12_debug.dll! HOT 1
- `warning: ‘template<long unsigned int _Len, long unsigned int _Align> struct std::aligned_storage’ is deprecated [-Wdeprecated-declarations]` HOT 1
- Error Linking CXX shared library ../../gnu_14.1_cxx11_32_release/libtbb12.dll
- Uninitialized data member in test code
- armel: Compiling a project using tbb via cmake yields: undefined reference to symbol '__atomic_fetch_add_8@@LIBATOMIC_1.0' HOT 4
- Consider adding an API to task_arena that returns index of the current thread only if it is part of the arena
- Loading tbb12.dll fails if its dependencies are located in `LOAD_LIBRARY_SEARCH_USER_DIRS` directories HOT 1
- Possible memory overflows in libtbb (stringop-overflow gcc warnings) HOT 5
- Test test_buffer_node sporadically hangs on x86_64 HOT 1
- Is tbb::concurrent_hash_map's copy constructor thread safe? HOT 4
- concurrent vector compiler errors HOT 2
- [try_put_and_wait] Test coverage should be significantly extended
- Profiling : Custom Flow Graph name does not appear in generated graphml file HOT 4
- Problems installing oneTBB
- Error while building on WIndows with Cygwin64 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onetbb.