From 4edb2aa71577cc7f8fb7a948fdc67c0d767cc791 Mon Sep 17 00:00:00 2001 From: Philip Mueller Date: Thu, 16 Jan 2025 07:38:37 +0100 Subject: [PATCH] Added a todo. --- .../runners/dace_fieldview/transformations/simplify.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gt4py/next/program_processors/runners/dace_fieldview/transformations/simplify.py b/src/gt4py/next/program_processors/runners/dace_fieldview/transformations/simplify.py index 13e5ac15e8..bc75d09087 100644 --- a/src/gt4py/next/program_processors/runners/dace_fieldview/transformations/simplify.py +++ b/src/gt4py/next/program_processors/runners/dace_fieldview/transformations/simplify.py @@ -694,6 +694,8 @@ def _check_read_write_dependency_impl( # a node that refers to the global data, we remove it from # `access_to_global_data_in_this_state`, if that list is empty at the end # then it is not used in another component. + # TODO(phimuell): Refine this case by also taking into account empty + # Memlets, that induce a deterministic order. to_process: list[dace_nodes.Node] = [def_location_of_intermediate] seen: set[dace_nodes.Node] = set() while len(to_process) != 0: