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

Add support for local variables in cuda-ico #1030

Closed
Stagno opened this issue Oct 6, 2020 · 0 comments · Fixed by #1039
Closed

Add support for local variables in cuda-ico #1030

Stagno opened this issue Oct 6, 2020 · 0 comments · Fixed by #1039
Assignees

Comments

@Stagno
Copy link
Contributor

Stagno commented Oct 6, 2020

Trivially translatable to ... local variables in cuda.

@Stagno Stagno added enhancement backend dawn related labels Oct 6, 2020
@mroethlin mroethlin added the ICON label Oct 7, 2020
@mroethlin mroethlin self-assigned this Oct 12, 2020
mroethlin added a commit that referenced this issue Oct 16, 2020
## Technical Description

This PR enables globals for the unstructured backends. Furthermore, an unreported issue where globals were not propagated from the wrapper class to the stencil class was fixed. Additionally, a bug in the unstructured cuda codegen was fixed when translating stencils that only use dense dimensions.

### Resolves / Enhances

Fixes #1030
Fixes #1028

### Notes

The methods to set and get globals in the cuda backend are on the inner stencils. This will be addressed in [this issue](#1038). Also, a method to communicate globals from FORTRAN will need to be devised (not addressed yet). 

### Testing

New tests in dawn4py and a new unstructured integration test to test the correct operation of the `CXXNaiveIco` backend. `CudaIco` backend tested manually. 

### Dependencies

This PR is independent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants