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
I've a few OPs that need to be executed in Rayon, but they've dependencies.
There are multiple ways to handle dependencies but decided to put synchronization inside the function.
However using anything blocking (such as a Barrier) with Rayon would prevent work stealing.
I've a few OPs that need to be executed in Rayon, but they've dependencies.
There are multiple ways to handle dependencies but decided to put synchronization inside the function.
However using anything blocking (such as a Barrier) with Rayon would prevent work stealing.
I made a quick example to illustrate my solution to my problem.
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=00cb5cf546ec9a3d564d5869fb6c1cd4
I was wondering if Rayon could add some synchronization primitives (like in the example), and if there is anything wrong with the example provided.
The text was updated successfully, but these errors were encountered: