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 9, 2024
1 parent 3a73367 commit 24b9d74
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion TestKernels/testKernels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,21 @@ end
KDivRhoThUpwind3Kernel! = GPU.DivRhoThUpwind3Kernel!(backend,group)
KDivRhoThUpwind3Kernel!(F,U,D,dXdxI,J,M,Glob,ndrange=ndrange)
KernelAbstractions.synchronize(backend)
@show "Upwind"
@show "UpwindRho and RhoTh"
@time for iter = 1 : TestIter
KDivRhoThUpwind3Kernel!(F,U,D,dXdxI,J,M,Glob,ndrange=ndrange)
KernelAbstractions.synchronize(backend)
end

KDivRhoTrUpwind3Kernel! = GPU.DivRhoTrUpwind3Kernel!(backend,group)
KDivRhoTrUpwind3Kernel!(FTh,Th,U,D,dXdxI,J,M,Glob,ndrange=ndrange)
KernelAbstractions.synchronize(backend)
@show "Upwind Tracer"
@time for iter = 1 : TestIter
KDivRhoTrUpwind3Kernel!(FTh,Th,U,D,dXdxI,J,M,Glob,ndrange=ndrange)
KernelAbstractions.synchronize(backend)
end

KHyperViscKoeffKernel! = GPU.HyperViscKoeffKernel!(backend,group)
KHyperViscKoeffKernel!(F,U,CacheF,D,DW,dXdxI,J,M,Glob,KoeffCurl,KoeffGrad,KoeffDiv,ndrange=ndrange)
KernelAbstractions.synchronize(backend)
Expand Down

0 comments on commit 24b9d74

Please sign in to comment.