From 6a562914a06461cf50f7dc508ec14f94e1cc534a Mon Sep 17 00:00:00 2001
From: Julian Hammer <julian.hammer@fau.de>
Date: Thu, 4 Apr 2019 16:07:08 +0200
Subject: [PATCH] added comment

---
 pystencils/kerncraft_coupling/kerncraft_interface.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pystencils/kerncraft_coupling/kerncraft_interface.py b/pystencils/kerncraft_coupling/kerncraft_interface.py
index d2f5621..b488adc 100644
--- a/pystencils/kerncraft_coupling/kerncraft_interface.py
+++ b/pystencils/kerncraft_coupling/kerncraft_interface.py
@@ -60,7 +60,8 @@ class PyStencilsKerncraftKernel(kerncraft.kernel.KernelCode):
             if isinstance(cur_node, LoopOverCoordinate):
                 loop_counter_sym = cur_node.loop_counter_symbol
                 loop_info = (loop_counter_sym.name, cur_node.start, cur_node.stop, 1)
-                # cur_node.step)
+                # If the correct step were to be provided, all access within that step length will
+                # also need to be passed to kerncraft: cur_node.step)
                 self._loop_stack.append(loop_info)
             cur_node = cur_node.parent
         self._loop_stack = list(reversed(self._loop_stack))
-- 
GitLab