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

Remove minimum and close Issue #975 #1042

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

kmdeck
Copy link
Member

@kmdeck kmdeck commented Feb 21, 2025

Purpose

Removes allocation of parameter combo struct Issue #975
Closes PR #982
Removes "minimum" computation by computing this once and storing it

To-do

update benchmark times

Content


  • I have read and checked the items on the review checklist.

@kmdeck kmdeck added the Run benchmarks Add this label to run benchmarks on clima label Feb 21, 2025
@@ -85,10 +85,9 @@ function update_albedo!(bc::AtmosDrivenFluxBC, p, soil_domain, model_parameters)
)
@. S_sfc = ∫H_S_e_dz / ∫H_dz
else
@. p.soil.sub_sfc_scratch = effective_saturation(ν, p.soil.θ_l, θ_r)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this removes an allocation too, but I dont think this branch is being used with our current config

@kmdeck kmdeck changed the title reduce time maybe Remove minimum and close Issue #982 Feb 21, 2025
@kmdeck kmdeck changed the title Remove minimum and close Issue #982 Remove minimum and close Issue #975 Feb 21, 2025
@kmdeck kmdeck linked an issue Feb 21, 2025 that may be closed by this pull request
@kmdeck kmdeck requested a review from Sbozzolo February 21, 2025 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Run benchmarks Add this label to run benchmarks on clima
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The workaround for GPU inference failure allocates new fields
1 participant