Skip to content

Commit

Permalink
Update testKernels.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
OsKnoth committed Oct 3, 2024
1 parent cc07c58 commit c4312ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion TestKernels/testKernels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ RhoVPos,RhoCPos,RelCloud,Rain)
KMicrophysicsKernel! = GPU.MicrophysicsKernel!(backend, groupG)
KMicrophysicsKernel!(MicrophysicsSource,F,U,p,ndrange=ndrangeG)
KernelAbstractions.synchronize(backend)
@show "MicroPhysics"
@time for iter = 1 : TestIter
KMicrophysicsKernel!(MicrophysicsSource,F,U,p,ndrange=ndrangeG)
KernelAbstractions.synchronize(backend)
Expand All @@ -140,8 +141,9 @@ _, Force = Examples.HeldSuarezDryExample()(Param,Phys)
KForceKernel! = GPU.ForceKernel!(backend, groupG)
KForceKernel!(Force,F,U,p,xS,ndrange=ndrangeG)
KernelAbstractions.synchronize(backend)
@show "HeldSuarez"
@time for iter = 1 : TestIter
KForceKernel!(Force,F,U,p,xS,ndrange=ndrangeG)
KernelAbstractions.synchronize(backend)
end
stop
@show "Ende"

0 comments on commit c4312ff

Please sign in to comment.