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

Support single precision build with configure #1706

Merged
merged 1 commit into from
Jan 7, 2021

Conversation

WeiqunZhang
Copy link
Member

Summary

  • Add new arguments --single-precision and --single-precision-particles
    to configure.

  • Add amrex::almostEqual for comparing floating point numbers.

  • Fix double to float conversion warnings.

  • Add CI testing single precision build

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • are described in the proposed changes to the AMReX documentation, if appropriate

* Add new arguments `--single-precision` and `--single-precision-particles`
  to `configure`.

* Add amrex::almostEqual for comparing floating point numbers.

* Fix double to float conversion warnings.

* Add CI testing single precision build
@WeiqunZhang WeiqunZhang requested review from atmyers and kngott January 7, 2021 00:53
@WeiqunZhang WeiqunZhang mentioned this pull request Jan 7, 2021
5 tasks
@WeiqunZhang WeiqunZhang merged commit be30569 into AMReX-Codes:development Jan 7, 2021
@WeiqunZhang WeiqunZhang deleted the configure_single branch January 7, 2021 22:17
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