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

Reduce global memory reads #1731

Merged
merged 1 commit into from
May 16, 2024
Merged

Reduce global memory reads #1731

merged 1 commit into from
May 16, 2024

Conversation

charleskawczynski
Copy link
Member

This PR reduces memory reads in our band_matrix_solve!, by reusing register data from previous loop iterations.

@charleskawczynski
Copy link
Member Author

I tried this out on the prognostic edmf on the A100, and ldiv! went from 291.34 ms to 271.5 ms (93% of what it used to cost).

@charleskawczynski charleskawczynski merged commit a9d80a4 into main May 16, 2024
11 of 14 checks passed
@charleskawczynski charleskawczynski deleted the ck/min_reads branch May 16, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant