Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
2464 Discussions

Warning during runtime of dpcpp object file

_Santosh_
Beginner
886 Views

Hi ,

When Iam running an object file of a  .dp.cpp file, Iam getting the below warning:

$ dpcpp test39.dp.cpp 

$./a.out 
TBB Warning: The number of workers is currently limited to 23. The request for 31 workers is ignored. Further requests for more workers will be silently ignored until the limit changes.

Max error: 0

-----------------------------------------------------------------------------

May I know , what leads to this warning? and how to get rid of this warning? And what is this warning about?

Please find the code attached!!

0 Kudos
2 Replies
AbhishekD_Intel
Moderator
856 Views

Hi,


Thanks for reaching out to us.

We are not getting this type of warning as you are getting.

As your warnings are more related to TBB we are moving this issue to the TBB forum, so that the TBB developer can help you with that.


Warm Regards,

Abhishek


0 Kudos
Mark_L_Intel
Moderator
739 Views

DPCPP/SYCL on CPU executes TBB underneath – and it looks like the machine has 24 cores (23 + master thread).  Somehow, DPCPP requested more cores. I cannot reproduce this issue internally. 

 

0 Kudos
Reply