Skip to content

Commit

Permalink
added missing GPU timer logging to Loki field driver
Browse files Browse the repository at this point in the history
Co-authored-by: Balthasar Reuter <[email protected]>
  • Loading branch information
wertysas and reuterbal authored Dec 19, 2024
1 parent 3786554 commit b2815a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/cloudsc_loki/cloudsc_driver_field_loki_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ SUBROUTINE CLOUDSC_DRIVER_FIELD( &

CALL TIMER%END()

#ifdef CLOUDSC_GPU_TIMING
! On GPUs, adding block-level column totals is cumbersome and
! error prone, and of little value due to the large number of
! processing "thread teams". Instead we register the total here.
CALL TIMER % THREAD_LOG(TID=TID, IGPC=NGPTOT)
#endif
CALL TIMER%PRINT_PERFORMANCE(NPROMA, NGPBLKS, NGPTOT)


Expand Down

0 comments on commit b2815a3

Please sign in to comment.