Skip to content

Commit

Permalink
Merge 48a8b4e into 849beb7
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Jul 28, 2020
2 parents 849beb7 + 48a8b4e commit 394ac19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/DiffEqGPU.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ end
end

@kernel function continuous_affect!_kernel(affect!,event_idx,u,t,p)
i = @index(Global, Linear)
@views @inbounds affect!(FakeIntegrator(u[:,i],t,p[:,i]))
for i in event_idx
@views @inbounds affect!(FakeIntegrator(u[:,i],t,p[:,i]))
end
end

maxthreads(::CPU) = 1024
Expand Down

0 comments on commit 394ac19

Please sign in to comment.