oneTBB icon indicating copy to clipboard operation
oneTBB copied to clipboard

Turn off runtime warnings

Open erling-d-andersen opened this issue 3 years ago • 1 comments

I see

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.

and I would really like to turn this runtime warning off because the users of our product that employs the TBB do not want such things,

I have reported the issue

https://community.intel.com/t5/Intel-oneAPI-Threading-Building/Turn-off-TBB-Warning/m-p/1341782/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufEtXVVVJM1IwMU9PUkVFfDEzNDE3ODJ8U1VCU0NSSVBUSU9OU3xoSw#M15002

Here is the code

https://github.com/oneapi-src/oneTBB/search?q=The+number+of+workers+is+currently+limited

printing out that warning.

PS: We compile this source ourselves for ARM but is using the one in the Intel OneAPI compiler for X86.

erling-d-andersen avatar Dec 14 '21 08:12 erling-d-andersen