-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
threading branch #13410
threading branch #13410
Conversation
firewalls cannot deal with the latter.
this avoids inserting temporary variable copies of local variables unless they might be assigned by an inner function. Conflicts: base/inference.jl
…o adr/threading, which in turn is a snapshot of threading branch. Conflicts: base/cartesian.jl base/inference.jl src/Makefile src/codegen.cpp src/gc.c src/init.c src/julia.h src/task.c test/runtests.jl
…s of the metadata rather than the thread-local pointer
Bump. Merge this soon? |
There's a conflict that needs resolving. I dislike merge commits since they can bury bad conflict resolutions along with thousands of lines of unreviewable diff of everything else that has happened on master, but this is too messy to rebase at this point. A comment about where conflicts were, or a manual commit that only touches the files where conflicts happened would help in tracking conflict resolutions. |
I'm not sure why github doesn't present the merge commits better. |
Yay! |
😹 |
🎉 |
@vtjnash that is a great tip, thanks for that - https://gist.github.com/7e083009a110666331ba |
and even that is a massive over-approximation of the merge conflict (which was just resolving the order of the the assert vs JL_LOCK changes at the top of jl_trampoline_compile_linfo) |
💯 |
🎆 |
👍 |
Here's a source build with all the deps in place for this: https://hub.docker.com/r/tkelman/julia64-part2/
|
@tkelman Hmm, I seem to get stuck on second round of |
odd, are you in a VM? maybe adding |
Yes, I used the "Kitematic"-thing for Docker on windows which seems to use VirtualBox. Seems to work now with |
Probably a virtualbox bug with avx. |
Getting this merge is so awesome. |
Since I am eager to play with this, is there any documentation yet for the new thread-macros or is it best to just look at the examples and go from there? |
Best to look at the threads perf tests. The interface is very rudimentary. I don't think we should document until APIs stabilise. |
There are a few small example programs in The interface is, in fact, rudimentary and the syntax preliminary. However, I think the basic interface ( @ViralBShah, @StefanKarpinski: what's a good venue to discuss the threading interface and improvements to it? Here? In #1790? |
I think we should close #1790 and open specific issues to discuss various threading related issues and improvements. |
Using this branch I could speed up my kd tree creation with a factor of about 2.25x (using 4 threads) encountering very little problem. Really nice job here! I look forward to when this is enabled by default. |
@KristofferC: that kd-tree code would be a nice performance benchmark for |
this closes #10772 and superceeds the other threading branches
the goal of this is to have the threading support off by default (controlled by a flag in julia.h), but to have the code building and passing tests either way; and to get this merged into master sooner rather than later.