-
Notifications
You must be signed in to change notification settings - Fork 209
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
Algebra with UniformScaling Uses Generic Fallback Scalar Indexing #85
Labels
Comments
It seems like broadcast is having issues too? I was trying: using CuArrays, LinearAlgebra
A = cu(rand(3,3))
idxs = 1:3
@. setindex!((A,),getindex((A,),idxs,idxs)+getindex((I,),idxs,idxs),idxs,idxs)
|
Base.:+(A::CuArray,I::UniformScaling) = A + CuArray(I,size(A,1),size(A,2)) works but seems wasteful. |
maleadt
added
cuda array
Stuff about CuArray.
enhancement
New feature or request
labels
May 27, 2020
This works now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: