-
Notifications
You must be signed in to change notification settings - Fork 260
Don't collect AbstractQ objects in tests
#1872
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
Conversation
|
Thanks! I would have been happy to make these changes, just wanted to make sure I understood the intention. |
|
No worries. I'll just step through the issues as they arise. But feel free to speed up the process by pushing commits. Yes, the intention was correct. The issue is that |
|
I think to fix the test on line 395 requires a new conversion method. convert(::Type{T}, ::[QRPackedQ/AbstractQ?]) where {T<:CuArray} = lmul!(Q, T(I, size(Q))that is multiplication of |
|
The challenge with the test is actually that there is only one path to materialize an |
|
I'm not sure what the exact intent of those tests is, as I didn't write them. Feel free to restructure them, or even change the wrappers (or suggest how to), as ultimately the goal of this functionality is compatibility with LinearAlgebra but using GPU types. |
|
JuliaLang/julia#49424 should fix the remaining conversion issue. |
|
Now |
|
Couldn't reproduce the hang locally, and seems to work on CI now too, so let's merge this. Thanks for looking into the failures! |
This PR collects fixes to make CUDA.jl work properly with the new
AbstractQAPI.