Skip to content

Commit e00bc64

Browse files
committed
Change NVTX names and add subranges
1 parent 26af09c commit e00bc64

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

src/common/m_mpi_common.fpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ module m_mpi_common
1616
use m_derived_types !< Definitions of the derived types
1717
1818
use m_global_parameters !< Definitions of the global parameters
19-
20-
use m_nvtx
2119
! ==========================================================================
2220
2321
implicit none
@@ -241,7 +239,6 @@ contains
241239
#ifdef MFC_SIMULATION
242240
#ifdef MFC_MPI
243241
244-
call nvtxStartRange("TSTEP-RUNTIME-INFO-REDUCE-CRIT")
245242
! Reducing local extrema of ICFL, VCFL, CCFL and Rc numbers to their
246243
! global extrema and bookkeeping the results on the rank 0 processor
247244
call MPI_REDUCE(icfl_max_loc, icfl_max_glb, 1, &
@@ -256,7 +253,6 @@ contains
256253
MPI_DOUBLE_PRECISION, MPI_MIN, 0, &
257254
MPI_COMM_WORLD, ierr)
258255
end if
259-
call nvtxEndRange
260256
261257
#else
262258

src/simulation/m_start_up.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ contains
12391239
integer :: save_count
12401240

12411241
call cpu_time(start)
1242-
! call nvtxStartRange("I/O")
1242+
call nvtxStartRange("SAVE-DATA")
12431243
do i = 1, sys_size
12441244
!$acc update host(q_cons_ts(1)%vf(i)%sf)
12451245
do l = 0, p
@@ -1267,7 +1267,7 @@ contains
12671267

12681268
call s_write_data_files(q_cons_ts(1)%vf, q_prim_vf, save_count)
12691269

1270-
! call nvtxEndRange
1270+
call nvtxEndRange
12711271
call cpu_time(finish)
12721272
if (cfl_dt) then
12731273
nt = mytime/t_save

src/simulation/p_main.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ program p_main
6363
finaltime = t_step_stop*dt
6464
end if
6565

66-
call nvtxStartRange("Simulation")
66+
call nvtxStartRange("SIMULATION-TIME-MARCH")
6767
! Time-stepping Loop =======================================================
6868
do
6969

0 commit comments

Comments
 (0)