-
Notifications
You must be signed in to change notification settings - Fork 8
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
ENH: multithreaded model functions #40
Comments
That's great that you saw good speedups. I've had good and bad experiences with threads in Julia. When it works, it is very nice and gives a good performance boost. However, often I see that it fails because Can you think of a way to preserve performance and give the user the ability to opt-in to the multithreaded version? |
I'm not sure. I would guess an option |
Ahh yes that makes sense. If we put it as an option at that level then there shouldn't be any problem |
Also, I would say there is no reason to not implement it as an option. If the default is to have it off then it is non breaking and adds a cool feature |
@sglyon : I did some tests and suspect we would get sizeable performance gains, just by adding Threads.@threads in front of the loop iterating over points.
Any particular reason to not do it ? That should of course be deactivated as one might want to lock functions to a single thread.
The text was updated successfully, but these errors were encountered: