Skip to content

Commit

Permalink
get rid of const on mutated lufact u
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Jul 28, 2020
1 parent c2e20c7 commit 1062eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DiffEqGPU.jl
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ function (p::LinSolveGPUSplitFactorize)(::Type{Val{:init}},f,u0_prototype)
LinSolveGPUSplitFactorize(size(u0_prototype)...)
end

@kernel function ldiv!_kernel(W,@Const(u),@Const(len),@Const(nfacts))
@kernel function ldiv!_kernel(W,u,@Const(len),@Const(nfacts))
i = @index(Global, Linear)
section = 1 + ((i-1)*len) : (i*len)
_W = @inbounds @view(W[:, :, i])
Expand Down

0 comments on commit 1062eb1

Please sign in to comment.