-
-
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
more efficient getindex methods for unit triangular types #14493
Conversation
…ower|Upper)Triangular types. See #14490.
The error on appveyor looks real, an UndefRefError in linalg/triangular? https://ci.appveyor.com/project/StefanKarpinski/julia/build/1.0.12133/job/v9kpyew4v3g1fmr0 |
Great. Thanks for the detailed timings. My rule of thumb is that a memory load is more expensive than the branch, but I wasn't aware that the memory load in I'm not sure what is causing the error on AppVeyor. |
That optimization surprised me --- pretty clever!
Neither I. Everything passes locally and the offending code (b1a2d54/test/linalg/triangular.jl#L155) looks innocuous. Is debug-play in the build environment possible, without repeatedly pushing new branches? Does MPFR behave differently on Windows? |
There's a way you can access build workers remotely over rdp, see http://www.appveyor.com/docs/how-to/rdp-to-build-worker - and everything should run equivalently if you turn appveyor on for your fork, may have to temporarily add branch names to the whitelist in
Possibly. C long is 32 bits on Win64, unlike most other 64 bit systems. Also note your links to specific lines of code aren't coming out quite right - if you paste the entire url, as in julia/test/linalg/triangular.jl Line 155 in b1a2d54
https://github.com/JuliaLang/julia/blob/ part automatically. |
Great, thanks! I'll check that out if the potential issue with this PR described in JuliaLang/LinearAlgebra.jl#294 gets resolved. |
more efficient getindex methods for unit triangular types
This pull request provides behaviorally-identical but more efficient
getindex
methods forUnit(Lower|Upper)Triangular
types. See JuliaLang/LinearAlgebra.jl#294 for details. I've benchmarked these methods on Intel Ivy Bridge and AMD Piledriver machines; benchmarking on additional architectures might be wise. The benchmarks below, a subset of those in JuliaLang/LinearAlgebra.jl#294,yield
on the Ivy Bridge machine, and
on the Piledriver machine. Best! (Edit: xor -> sum)