Skip to content

Commit

Permalink
Remove unnecessary critical regions to help ifx compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Sep 16, 2022
1 parent 70ce0ff commit 60e7897
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/common/timings.F
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ SUBROUTINE timeset_handler(routineN, handle)
TYPE(timer_env_type), POINTER :: timer_env
!$OMP MASTER
!$OMP CRITICAL(time_setstop)
! Default value, using a negative value when timing is not taken
cs_entry%walltime_start = -HUGE(1.0_dp)
Expand Down Expand Up @@ -277,7 +276,6 @@ SUBROUTINE timeset_handler(routineN, handle)
CALL offload_timeset(routineN)
!$OMP END CRITICAL(time_setstop)
!$OMP END MASTER
END SUBROUTINE timeset_handler
Expand Down Expand Up @@ -306,7 +304,6 @@ SUBROUTINE timestop_handler(handle)
routine_id = handle
!$OMP MASTER
!$OMP CRITICAL(time_setstop)
CALL offload_timestop()
Expand Down Expand Up @@ -380,7 +377,6 @@ SUBROUTINE timestop_handler(handle)
CALL m_flush(timer_env%trace_unit)
END IF

!$OMP END CRITICAL(time_setstop)
!$OMP END MASTER

END SUBROUTINE timestop_handler
Expand Down

0 comments on commit 60e7897

Please sign in to comment.