Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenACC cleanup part 1 #247

Merged
merged 13 commits into from
Sep 19, 2023
Merged

OpenACC cleanup part 1 #247

merged 13 commits into from
Sep 19, 2023

Conversation

mlee03
Copy link

@mlee03 mlee03 commented Sep 18, 2023

In this PR

  1. New functions malloc_minmaxavg_lists and get_minmaxavg_lists are created and used to allocate and calculate values for lon_out_min_list, lon_out_max_list, lat_out_min_list, lat_out_max_list, n2_list, lon_out_avg, lon_out_list, and lat_out_list.
  2. An OpenACC version of create_xgrid_2dx2d_order2 has been created and has been named as create_xgrid_2dx2d_order2_acc. This function can be found in a new file called create_xgrid_acc.c.
  3. The OpenACC version create_xgrid_2dx2d_order2_acc is called in setup_conserve_interp when the _OPENACC macro is specified.
  4. Data transfer OpenACC directives have been added to setup_conserve_interp.
  5. Unused variables/arrays in setup_conserve_interp have been removed.

@ngs333 ngs333 merged commit f6d1cde into NOAA-GFDL:gpu_dev Sep 19, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants