You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How could I modify the number of threads while running pipeline examples? According to README, the number of threads is defaulted to the number of cores. However, I would like to change the number of threads and see the runtime performance trend. How could I do that? Thank you so much.
The text was updated successfully, but these errors were encountered:
Hi, in FastFlow it is not possible to change the number of threads in a pipeline. It is only possible to change (i.e., activate/deactivate at run-time) the workers on a farm.
For an n-stage pipeline, there are n threads. To reduce the number of threads, you can combine pipeline stages by using the ff_comb* building block. However, such an operation has to be performed statically (in the current version).
Hello,
How could I modify the number of threads while running pipeline examples? According to README, the number of threads is defaulted to the number of cores. However, I would like to change the number of threads and see the runtime performance trend. How could I do that? Thank you so much.
The text was updated successfully, but these errors were encountered: