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

The cache significantly increases compile time #2138

Closed
Tracked by #1980
Sbozzolo opened this issue Sep 21, 2023 · 1 comment
Closed
Tracked by #1980

The cache significantly increases compile time #2138

Sbozzolo opened this issue Sep 21, 2023 · 1 comment

Comments

@Sbozzolo
Copy link
Member

From CliMA/ClimaCore.jl#1467

Tuples of Fields affect compilation time and are a major cause of latency.

In ClimaAtmos, the cache is a massive tuple. A native restructuring of the cache from a tuple to a struct shows 60% latency reduction to get the integrator for a moist case without radiation. The latency is further reduced for more complex cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants