Pullback for tr
produces a CPU Diagonal
causing downstream scalar indexing on GPUs
#682
Labels
tr
produces a CPU Diagonal
causing downstream scalar indexing on GPUs
#682
Functions like
tr(A * B)
will throw scalar indexing issues in the pullback for*
whenA
andB
areCuArray
s. This is because the pullback fortr
creates aDiagonal
which will cause downstream matrix multiplies to hit the LinearAlgebra definition.The text was updated successfully, but these errors were encountered: