Skip to content

Remove PARALLEL keyword as iteration order #205

Closed
@tehrengruber

Description

@tehrengruber

The PARALLEL keyword used as vertical iteration order in the computation definition is often misunderstood by users. As decided in the syntax workshop the PARALLEL keyword should be removed and computation() should be defined as:

def computation(iteration_order: Optional[IterationOrder] = None):
    pass

so it can be used with an empty computation():

with computation():  # Ok
    ...

During a transition period a deprecation warning should be printed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gt4py.cartesianIssues concerning the current version with support only for cartesian grids.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions