-
Notifications
You must be signed in to change notification settings - Fork 131
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
Number of cpus #3
Comments
Hi. In your case, as long as the thread affinity is properly set, this change (to the number of threads) should not introduce side effects. You can use OpenMP environmental variables to ensure threads are allocated as expected. |
Yes, my changes are simply:
And set the number of threads using Is this your intention to use |
Personally I think it's better to allow the user to chose how many threads to run and the binding accordingly. |
Hi,
I'm using Gemini and find out that the number of threads is set to the number of hardware threads. This is suboptimal in my experiment. It's better to set it to an entire core.
Can you confirm if it will work OK if I set number of threads to number of cores or is there any side effect ?
The text was updated successfully, but these errors were encountered: