Skip to content

Commit

Permalink
Added a todo.
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-paul-mueller committed May 28, 2024
1 parent 6c980a9 commit 6dd65f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jace/stages.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ def lower(
if len(kwargs) != 0:
raise NotImplementedError("Currently only positional arguments are supported.")

# Currently the SDFG that we build only supports `C_CONTIGUOUS` memory order.
# Since we support the paradigm that "everything passed to `lower` should also be
# accepted as argument to call the result", we forbid other memory orders here.
# TODO(phimuell): Currently the SDFG that we build only supports `C_CONTIGUOUS` memory
# order. Since we support the paradigm that "everything passed to `lower` should also
# be accepted as argument to call the result", we forbid other memory orders here.
if not all((not util.is_array(arg)) or arg.flags["C_CONTIGUOUS"] for arg in args):
raise NotImplementedError("Currently can not handle strides beside 'C_CONTIGUOUS'.")

Expand Down

0 comments on commit 6dd65f3

Please sign in to comment.