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
-
Author Maintainer
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.
-
Developer
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).
Please register or sign in to comment