E3SM-Project / E3SM-Project/scream

Investigate temporary variables in P3 SK impl

Open
#2,989 0 comments 0 reactions 0 assignees View on GitHub
memory p3
Dominant language
No language data
Stars
79
Forks
54
PR merge metrics
No merged PRs in 30d

Description

P3 Small Kernels has 56 temporary variables used inside `p3_main()`. We should investigate if some of the temporaries can alias others instead of 56 distinct memory allocations. List of variables in `P3Temporaies` struct: https://github.com/E3SM-Project/scream/blob/e65666fc61b2657652a0fe95537e45c817d617d5/components/eamxx/src/physics/p3/p3_functions.hpp#L250.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.