Skip to content

Commit

Permalink
Update FcnGPU.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
OsKnoth committed Jan 3, 2024
1 parent 0c7fc7f commit 5439e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GPU/FcnGPU.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ end

function FcnGPU!(F,U,FE,Metric,Phys,Cache,Exchange,Global,Param,DiscType)

@show sum(abs.(U[:,:,2:Nz-1]))

backend = get_backend(F)
FT = eltype(F)
Expand Down Expand Up @@ -218,6 +217,7 @@ function FcnGPU!(F,U,FE,Metric,Phys,Cache,Exchange,Global,Param,DiscType)
####
# First phase
####
@show sum(abs.(U[:,:,2:Nz-1]))
Temp1 .= FT(0)
@views MRho = CacheF[:,:,6]
KHyperViscKernel!(CacheF,MRho,U,DS,DW,dXdxI,J,M,Glob,ndrange=ndrangeB)
Expand Down

0 comments on commit 5439e28

Please sign in to comment.