Skip to content
Commit e5343f02 authored by Victor Lopez's avatar Victor Lopez
Browse files

Fix the upper limit of thread creation

The runtime should be able to create as many threads as
available CPUs, or as requested by the user if CPUs are
oversubscribed.
parent d5daef8b
  • @vlopez This limit makes sense when we have devices which use multiworkers? Have you think about that?

  • Probably not. The condition at system.cpp:1299 was wrong because the runtime was assuming that all threads created until now would be team candidates, which they are not if the process mask changes.

    But the strong restriction at createWorker may have other consequences that I have not think of. Do multiworkers use the same SMPPlugin? If so, this restriction should be removed.

  • I will merge the master changes in the OmpSs-at-FPGA/Nanox and test them. But probably, there will be no problem as I realized now that MultiWorker goes directly to the SMP PE and not the SMP Plugin (as you state).

  • mentioned in commit dbf4d743

    Toggle commit list
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment