You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initial OpenACC port of atm_advance_acoustic_step_work
Enables the GPU execution of the atm_advance_acoustic_step_work subroutine by
adding OpenACC directives. In order to discount the time spent to transfer data
between CPU and GPU within this routine, the new timer
'atm_advance_acoustic_step [ACC_data_xfer]' has been added to the log file.
Changes include:
- Preparing the routine for porting. Modifying whitespace to make regions clear,
changing implicit loop assignments to be explicit, and fusing some loops.
- Adding OpenACC parallel and loop directives to the do-loops.
- Managing the invariant fields needed for this routine in
mpas_atm_dynamics_{init,finalize} so they are available across timesteps.
- Managing the other fields needed in the routine with OpenACC directives and
using default(present) to ensure data isn't missed. default(present) clauses
cause a run-time error if data isn't present.
0 commit comments