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

Question on threads #84

Open
gitboy16 opened this issue Jun 16, 2021 · 0 comments
Open

Question on threads #84

gitboy16 opened this issue Jun 16, 2021 · 0 comments

Comments

@gitboy16
Copy link

Hi,
Is there a way to control the number of threads used before a loop? Let's say I start julia with 4 threads but for a specific loop i only want to use 2 threads. Is it possible to do it? A bit like #pragma omp parallel for num_threads()...

Thank you
Kind regards

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