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

thermodynamics, subgrid, forces: more variables in field_r precision #142

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

fjansson
Copy link
Contributor

@fjansson fjansson commented Dec 2, 2024

  • explicit field_r on local variables
  • change double precision constants (1.0) to integers or explicit precision 1.0_field_r

for single-precision runs on RTX3090, 512x512 botany case for 300s:
2x faster thermo
20% faster subgrid
2x faster forces
8% faster simulation in total

* explicit field_r on local variables
* change double precision constants (1.0) to integers or
  explicit precision 1.0_field_r

for single-precision runs on RTX3090, 512x512 botany case for 300s:
   2x faster thermo
  20% faster subgrid
   2x faster forces
   8% faster simulation in total
@fjansson fjansson merged commit 64cb191 into dev Dec 3, 2024
26 checks passed
@fjansson fjansson deleted the dev-sp-optimization branch December 3, 2024 09:34
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