Skip to content
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

Sparse matrix * view(vector) regression in 2.0 #493

Closed
marius311 opened this issue Oct 15, 2020 · 0 comments · Fixed by #495
Closed

Sparse matrix * view(vector) regression in 2.0 #493

marius311 opened this issue Oct 15, 2020 · 0 comments · Fixed by #495
Labels
regression Something that used to work, doesn't anymore.

Comments

@marius311
Copy link
Contributor

The following code runs fine in 1.3.3 but triggers scalar indexing in 2.0 and above:

using SparseArrays, CUDA
x = cu(rand(20))
cu(sprand(Float32,10,10,0.1)) * @view(x[1:10])
@marius311 marius311 added the bug Something isn't working label Oct 15, 2020
@maleadt maleadt added regression Something that used to work, doesn't anymore. and removed bug Something isn't working labels Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression Something that used to work, doesn't anymore.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants