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

[LFRic] Signify when kernel fields require up-to-date halos. #2932

Open
mo-joshuacolclough opened this issue Mar 24, 2025 · 0 comments
Open

Comments

@mo-joshuacolclough
Copy link

For the adjoint of stencil operations we have decided on a lookup table approach as a first step. This produces integer fields which are passed into the adjoint kernels, and used to apply the adjoint order of operations.

The lookup table acts as a stencil operation, so it expects that the fields being used in calculations have up-to-date halo information. It is my understanding that there is no way to signify this to PSyclone apart from through using a stencil, which isn't needed in this case. Currently these lookup table kernels are written as PSy-KAl lite code, with halo exchanges added where needed.

Linked LFRic-apps ticket

@mo-joshuacolclough mo-joshuacolclough changed the title [LFRic] Signify that kernel fields require up-to-date halos. [LFRic] Signify when kernel fields require up-to-date halos. Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant