-
Notifications
You must be signed in to change notification settings - Fork 27
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
Limit the number of parallelism #71
Comments
You can use the
Equivalently:
Let me know if that works for you. |
This works. Thank you! |
Can we change the worker count dynamically during the program execution? |
Currently, no. We don't offer an API function to change the number of workers during program execution. Such a function turns out to be dangerous outside of a few specific contexts, and as a result, we have been reluctant to add that functionality without understanding how people want to use it. What would you want to do with that functionality, @vivkumar? |
We wanted to use OpenCilk for evaluating https://ftp.cs.wisc.edu/sohi/papers/2014/PLDI_2014_Adaptive.pdf |
Hi, how can I limit the Cilk runtime scheduler to a maximum N number of threads (instead of all available threads)? I need this for benchmark and other purposes. Thanks!
The text was updated successfully, but these errors were encountered: