-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Linear algebra test coverage for SubArray #299
Comments
@kshyatt Are |
just to be 100% sure, this is simply to make sure that the functions return the same thing / work even if it's a |
Yeah, the idea is to make sure |
|
Great. Top post is now updated. |
I'll probably grab some more the coming days, and pile them in a PR with separate commits. I assume none are taken? |
Nope, go nuts. Keep em coming @pkofod, big fan of your recent contributions. |
Most of |
I don't think this is intentional, it's just that few if any methods for working with views of sparse matrices have been written yet. |
As pointed out by Tim Holy at JuliaLang/julia#15354, it works in JuliaLang/julia#15367 |
Though if it's dispatching to a generic fallback, it's likely quite slow and not taking advantage of sparsity, so optimized methods do still need to be written to get decent performance. |
Yes I realize that, I was only thinking about: "does it work?". If it is expected to work, I figured it should be tested. Even if it would probably be stupid for most users to do it currently. |
Regarding this issue... Is it "acceptable" to continue down this road right now, or will a PR that increases test times not be merged anyway? (I'm thinking about the whole CI discussion...) Also, I think there are some completed files that are not ticked off (matmul, eigen, schur, bunchkaufman). |
I don't think we should hold back on adding tests here but @tkelman can tell if we are too close to the limit. Recently, the triangular tests got faster after avoiding many calls to |
The time per CI run has gotten about 20 minutes faster over the last few months, which is great work by the compiler gurus. But we are having more frequent freezes and it's generally busy with a lot of builds per day adding up to a usually-long queue. |
I think |
@kshyatt Are we now in a good enough place, that we can close this? |
Below is the list of linear algebra test files that we'll need to extend with
SubArray
tests. Please update the list ifSubArray
s are already covered (systematically) for the filearnoldi.jl
bidiag.jl
bunchkaufman.jl
cholesky.jl
dense.jl
diagonal.jl
eigen.jl
generic.jl
(see Adding SubArray tests to generic.jl, includes fix for linreg bug found julia#15145)givens.jl
lapack.jl
lu.jl
lq.jl
matmul.jl
pinv.jl
qr.jl
schur.jl
special.jl
svd.jl
symmetric.jl
triangular.jl
tridiag.jl
uniformscaling.jl
(see Test UniformScaling methods with SubArrays. julia#14731)The text was updated successfully, but these errors were encountered: