Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for spawn missing. #65

Open
Chiil opened this issue Feb 10, 2022 · 0 comments
Open

Support for spawn missing. #65

Chiil opened this issue Feb 10, 2022 · 0 comments

Comments

@Chiil
Copy link

Chiil commented Feb 10, 2022

I opened an issue here following the discourse discussion: https://discourse.julialang.org/t/how-to-control-threads-in-combination-of-loopvectorization-and-spawn/75466

In short, I would like to be able to run two tasks with each an own thread in my code in which both tasks can use @tturbo on nested loops. One of the tasks might trigger MPI communication, and I would like the other task to continue computation. As @chriselrod suggested in the Discourse discussion, a spawn is missing in Polyester. I would like to give it a try (I will need some time to figure out the code and its interactions with PolyesterWeave and ThreadingUtilities). What would be necessary for my goal is to give priority to threads. I thought of doing this in two steps. First, to solve the issue raised in the discourse discussion, and then the priority issue. It would be great to get some initial hints on in which file to implement the spawn, following up on the hints given in de Discourse post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant