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

allow for optional printing of errors from GPUs #2923

Merged
merged 6 commits into from
Jul 25, 2024

Conversation

zingale
Copy link
Member

@zingale zingale commented Jul 22, 2024

PR summary

Right now we if-def out a lot of error messages when on GPUs because of register pressure with
printf. This adds a compilation flag, USE_GPU_PRINTF=TRUE, that will enable prints from
GPUs using AMREX_DEVICE_PRINTF()

PR motivation

PR checklist

  • test suite needs to be run on this PR
  • this PR will change answers in the test suite to more than roundoff level
  • all newly-added functions have docstrings as per the coding conventions
  • the CHANGES file has been updated, if appropriate
  • if appropriate, this change is described in the docs

@zingale zingale changed the title [WIP] allow for optional printing of errors from GPUs allow for optional printing of errors from GPUs Jul 23, 2024
@zingale zingale merged commit 8ffd8d7 into AMReX-Astro:development Jul 25, 2024
26 checks passed
@zingale zingale deleted the enable_gpu_print branch July 25, 2024 16:14
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