- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I understand why get this warning:
TBB Warning: The number of workers is currently limited to 3. The request for 7 workers is ignored. Further requests for more workers will be silently ignored until the limit changes.
But I do not want TBB print it out ever. How to turn it off?
The customers of our program would get very annoyed by this warning.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
The warning is usually caused by either tbb::task_scheduler_init or tbb::task_arena when an explicit number of threads is requested.
Could you please provide a sample reproducer to work on it from our end?
Also please provide the below details:
Os & version
Compiler used
OneTBB version is being used.
Thanks & Regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Version 2021.4.0 Build 20210924
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now I also located the source generating the warning
https://github.com/oneapi-src/oneTBB/search?q=The+number+of+workers+is+currently+limited
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for providing the details.
Sorry for the inconvenience caused to you during the TBB warning.
We do not have any flag that can turn off the warning as of now.
If necessary you can raise a feature request if you have priority support, else you can potentially submit a request through GitHub.
Thanks & Regards,
Noorajahn.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please let us know if you require any further assistance? If not then can we go ahead and close this thread?
Thanks & Regards,
Noorajahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have not heard back from you, so I will close this inquiry now. If you need further assistance, please post a new question.
Thanks & Regards,
Noorjahan.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page