Skip to content

Name variable & size in feedback of bad domain #63

@FlorianDeconinck

Description

@FlorianDeconinck

When in a signature a FloatField is of the wrong size, we detect in gt4py.cartesian.stencil_object but the error is: Compute domain too large (provided: (X, X, X), maximum (X,X,X)

This is not enough for a quick debug because it doesn't give:

  • The name of the stencil
  • The name of the offending Field with a bad size
  • A clear explanation of stencil domain vs Field sizes

Parent: #49


  • Enhance the feedback to make those error easily debuggable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions