Make sure that the RNG counter can be substituted during loop cutting
Compare changes
+ 8
− 4
@@ -19,9 +19,8 @@ def _get_rng_template(name, data_type, num_vars):
@@ -19,9 +19,8 @@ def _get_rng_template(name, data_type, num_vars):
def _get_rng_code(template, dialect, vector_instruction_set, time_step, offsets, keys, dim, result_symbols):
@@ -44,6 +43,7 @@ class RNGBase(CustomCodeNode):
@@ -44,6 +43,7 @@ class RNGBase(CustomCodeNode):
@@ -61,13 +61,17 @@ class RNGBase(CustomCodeNode):
@@ -61,13 +61,17 @@ class RNGBase(CustomCodeNode):
return self # nothing to replace inside this node - would destroy intermediate "dummy" by re-creating them