Skip to content

Commit 053ed40

Browse files
authored
Fix NVTX Ranges (#779)
1 parent d667ea7 commit 053ed40

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/simulation/m_rhs.fpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -774,10 +774,8 @@ contains
774774
end if
775775
irx%end = m; iry%end = n; irz%end = p
776776

777-
call nvtxStartRange("RHS-RIEMANN-SOLVER")
778-
779777
! Computing Riemann Solver Flux and Source Flux
780-
call nvtxStartRange("RHS_riemann_solver")
778+
call nvtxStartRange("RHS-RIEMANN-SOLVER")
781779
call s_riemann_solver(qR_rsx_vf, qR_rsy_vf, qR_rsz_vf, &
782780
dqR_prim_dx_n(id)%vf, &
783781
dqR_prim_dy_n(id)%vf, &

src/simulation/m_time_steppers.fpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,6 @@ contains
390390
end if
391391

392392
if (bodyForces) call s_apply_bodyforces(q_cons_ts(1)%vf, q_prim_vf, rhs_vf, dt)
393-
call nvtxEndRange
394393

395394
if (grid_geometry == 3) call s_apply_fourier_filter(q_cons_ts(1)%vf)
396395

@@ -406,6 +405,8 @@ contains
406405
end if
407406
end if
408407

408+
call nvtxEndRange
409+
409410
end subroutine s_1st_order_tvd_rk
410411

411412
!> 2nd order TVD RK time-stepping algorithm

0 commit comments

Comments
 (0)