-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Strides for Adjoint & Transpose #710
Conversation
I'll review later, but on first glance: Needs a README entry. |
Sure. If I do it after #709 then I won't have to fix clashes. This one may need to wait for the backport anyway. |
LGTM. Once the backport is done and the version conditional updated accordingly, this should be good to go. |
Co-authored-by: Martin Holters <martin.holters@hsu-hh.de>
Travis Linux Julia 1.0:
AV Julia latest (1.6.0-DEV.452) 32 bit:
All others pass. Does this influence the dispatch of The inputs here are randomly generated, that might explain why it only fails sometimes, but I haven't seen this before, so most likely related to this PR. |
On second thought, this PR shouldn't change anything on Julia 1.6.0-DEV.452 (except for adding tests, which are not the ones failing here), so hard to blame it. But the same change in Base could lead to same problem in the here, of course. |
I don't understand this at all. It's both 1.0 on Travis and master on Appveyor, on the same test. Both seem like they ought to have been identical on earlier runs of this PR. And I can't see how |
Running @testset begin
n = 10
for iter in 1:1000000
A = randn(Float32, n, n)
x = rand(Float32, n)
y = rand(Float32, n)
@test dot(x, transpose(A), y) ≈ dot(x, transpose(A)*y) ≈ *(x', transpose(A), y) ≈ (x'*transpose(A))*y
end
end gives around 200 fails across different Julia versions. Seems we were just very unlucky with the latest CI run. I'll restart and if it looks better this time, this should be ready to merge. The flaky test is an orthogonal issue. |
This adds JuliaLang/julia#35929 which updated JuliaLang/julia#29135 .
Edit: the more recently merged PR JuliaLang/julia#35929 is marked "backport 1.5". I presume that this means the VERSION cutoff used here may need to change.