Skip to content

Commit

Permalink
Add ConnectivityFields to handler
Browse files Browse the repository at this point in the history
  • Loading branch information
samkellerhals committed Dec 11, 2024
1 parent c9c5c8e commit 9eb29be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gt4py/next/program_processors/runners/gtfn.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from gt4py.eve import utils
from gt4py.eve.utils import content_hash
from gt4py.next import NeighborTableOffsetProvider, backend, common, config
from gt4py.next.embedded.nd_array_field import NumPyArrayField
from gt4py.next.embedded import nd_array_field
from gt4py.next.iterator import ir as itir
from gt4py.next.otf import arguments
from gt4py.next.otf import recipes, stages, workflow
Expand Down Expand Up @@ -115,6 +115,8 @@ def handle_invalid_type(

type_handlers_connectivity_args = {
NeighborTableOffsetProvider: handle_connectivity,
nd_array_field.NumPyArrayConnectivityField: handle_connectivity,
nd_array_field.CuPyArrayConnectivityField: handle_connectivity,
common.Dimension: handle_dimension,
}

Expand Down

0 comments on commit 9eb29be

Please sign in to comment.