Skip to content

modify hyper diffusion expressions to be more performant #4729

Description

@imreddyTeja

Should follow #4728

hyperdiffusion_tendency! takes ~7% of a step with the config/common_configs/numerics_sphere_he16ze63.yml and config/longrun_configs/amip_target.ymlconfigs using ClimaCore 0.14.55

minimal reproducer

possible rewrites:

  • Fuse sequential pointwise operations using foreach_point (requires a new CC release, or using main)
  • store recomputed expressions in eagerly evaluated scratch fields
  • Pre-project operators arguments when ClimaCore would insert implicit duplicated projections

TODO:

Add baseline benchmark results

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions