Skip to content

Commit

Permalink
NVTX
Browse files Browse the repository at this point in the history
  • Loading branch information
OsKnoth committed Sep 20, 2024
1 parent d31df8d commit 5d1ae5a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/GPU/DiagnosticKernel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ end
end
end

function FcnPrepareGPU!(U,FE,Metric,Phys,Cache,Exchange,Global,Param,DiscType)
NVTX.@annotate function FcnPrepareGPU!(U,FE,Metric,Phys,Cache,Exchange,Global,Param,DiscType)
backend = get_backend(U)
dXdxI = Metric.dXdxI
X = Metric.X
Expand Down
2 changes: 1 addition & 1 deletion src/GPU/FcnGPU.jl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function FcnAdvectionGPU!(F,U,time,FE,Metric,Phys,Cache,Exchange,Global,Param,Pr
@views Parallels.ExchangeData3DRecvGPU!(F[:,:,1:1+NumV],Exchange)
end

function FcnGPU!(F,U,FE,Metric,Phys,Cache,Exchange,Global,Param,Equation::Models.CompressibleShallow)
NVTX.@annotate function FcnGPU!(F,U,FE,Metric,Phys,Cache,Exchange,Global,Param,Equation::Models.CompressibleShallow)

backend = get_backend(F)
FT = eltype(F)
Expand Down
1 change: 1 addition & 0 deletions src/GPU/GPU.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ using StaticArrays
using KernelAbstractions
using KernelAbstractions: @atomic, @atomicswap, @atomicreplace
using KernelAbstractions.Extras
using NVTX

include("OperatorKernel.jl")
include("FcnGPU.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/Integration/SchurSolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ end
end
end

function SchurSolveGPU!(k,v,J,fac,Cache,Global)
NVTX.@annotate function SchurSolveGPU!(k,v,J,fac,Cache,Global)
backend = get_backend(k)
FT = eltype(k)

Expand Down

0 comments on commit 5d1ae5a

Please sign in to comment.