We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4703923 commit f7880a3Copy full SHA for f7880a3
1 file changed
src/device/quirks.jl
@@ -94,7 +94,7 @@ end
94
95
# LinearAlgebra
96
@static if VERSION >= v"1.8-"
97
- function Base.setindex!(D::LinearAlgebra.Diagonal, v, i::Int, j::Int)
+ @device_override function Base.setindex!(D::LinearAlgebra.Diagonal, v, i::Int, j::Int)
98
@boundscheck checkbounds(D, i, j)
99
if i == j
100
@inbounds D.diag[i] = v
0 commit comments