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

next: Program with empty domain crashes in gtfn_gpu #1891

Open
havogt opened this issue Feb 28, 2025 · 0 comments
Open

next: Program with empty domain crashes in gtfn_gpu #1891

havogt opened this issue Feb 28, 2025 · 0 comments
Labels
gt4py.next Issues concerning the new version with support for non-cartesian grids. triage: bug Something isn't working

Comments

@havogt
Copy link
Contributor

havogt commented Feb 28, 2025

If a program is called with an empty domain, gtfn_gpu will crash as the block/grid sizes will be wrong (or 0?). In most other backends it is a loop where the bounds are empty.

We should probably either

  • not execute the program and give a warning or,
  • exit nicely with an error.
@havogt havogt added gt4py.next Issues concerning the new version with support for non-cartesian grids. triage: bug Something isn't working labels Feb 28, 2025
@havogt havogt added this to the MCH operational milestone Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gt4py.next Issues concerning the new version with support for non-cartesian grids. triage: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant