Skip to content

Speed up SGS quadrature sampling #2430

Open
@trontrytel

Description

@trontrytel

Sampling on SGS quadrature points is causing significant slowdowns on both CPU and GPU. Right now this is not an issue, because we only need them for the diagnostic cloud fraction, which is being called via callbacks every couple of hours. However, moving forward we will need the SGS quadratures to evaluate source terms for EDMF, which will be needed at every time step.

Last time we looked with @charleskawczynski it seemed like there are optimization possibilities in Thermodynamics.jl. Inside the quadrature loop we call a non-optimized Phase_equil path.

Another possible optimization, is to not do quadrature loop at all if the (co)variances are small. However this may not give us any speed ups on the GPU.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions