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

Revert mixed precision mode #42

Merged
merged 4 commits into from
Oct 24, 2022
Merged

Revert mixed precision mode #42

merged 4 commits into from
Oct 24, 2022

Conversation

p-costa
Copy link
Collaborator

@p-costa p-costa commented Oct 24, 2022

The mixed-precision mode that was triggered when building with SINGLE_PRECISION_POISSON=1 has been removed from the main branch.

While this mode yields excellent results for many benchmarks, it resulted in a more complex code that is harder to follow for the average user. Moreover, simply performing the whole calculation in lower precision seems to do a good job for many benchmarks.

Hence, in favor of a more readable code, we removed this feature from the main branch, a decision that can be reconsidered in the future. This option can still be explored in v2.0.1, and is valuable for a few very high Reynolds numbers or other setups with extremely fine grids.

Closes #40.

@p-costa p-costa force-pushed the revert-mixed-prec branch 3 times, most recently from 11c9e57 to 2d65561 Compare October 24, 2022 08:12
@p-costa p-costa merged commit c64eb7a into main Oct 24, 2022
@p-costa p-costa deleted the revert-mixed-prec branch October 24, 2022 09:17
p-costa added a commit that referenced this pull request Oct 24, 2022
* revert mixed-precision mode

* updated readme

* bump 2decomp submodule
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.

reconsider mixed-precision mode?
1 participant