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

Apply KernelImportsToArguments in LFRic #2736

Open
sergisiso opened this issue Oct 4, 2024 · 0 comments
Open

Apply KernelImportsToArguments in LFRic #2736

sergisiso opened this issue Oct 4, 2024 · 0 comments
Assignees
Labels
LFRic Issue relates to the LFRic domain NG-ARCH Issues relevant to the GPU parallelisation of LFRic and other models expected to be used in NG-ARCH

Comments

@sergisiso
Copy link
Collaborator

KernelImportsToArguments has bee previously used in GOcean to prepare GPU kernels (as they can not have imports of global data inside the kernel). We could attempt the same in LFRic as some of its kernels report the same problem.

There is an additional difficulty, that not all LFRic kernels imports are data, some are routines, and this transformation will not solve the routine case (which need to be inlined or annotated with a GPU directive)

@sergisiso sergisiso added LFRic Issue relates to the LFRic domain NG-ARCH Issues relevant to the GPU parallelisation of LFRic and other models expected to be used in NG-ARCH labels Oct 4, 2024
@sergisiso sergisiso self-assigned this Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LFRic Issue relates to the LFRic domain NG-ARCH Issues relevant to the GPU parallelisation of LFRic and other models expected to be used in NG-ARCH
Projects
None yet
Development

No branches or pull requests

1 participant