*(::AbstractVector, ::AbstractMatrix)
pullback triggers scalar indexing on the GPU
#685
Labels
*(::AbstractVector, ::AbstractMatrix)
pullback triggers scalar indexing on the GPU
#685
When multiplying a vector by a matrix, the
rrule
triggers scalar indexing for GPU arrays.This comes from this line using
vec(adjoint(::CuArray))
which creates aReshapedArray
which in turn triggers generic matmul forȲ * vec(B'))
.The text was updated successfully, but these errors were encountered: