Skip to content
Snippets Groups Projects
Commit fad8f909 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Correct another vec_index

parent ffff060b
No related branches found
No related tags found
No related merge requests found
...@@ -199,7 +199,7 @@ def collect_vector_data_rotate(knl): ...@@ -199,7 +199,7 @@ def collect_vector_data_rotate(knl):
expr, = quantities[quantity] expr, = quantities[quantity]
knl = add_vector_view(knl, quantity, flatview=True) knl = add_vector_view(knl, quantity, flatview=True)
replacemap_vec[expr] = prim.Subscript(prim.Variable(get_vector_view_name(quantity)), replacemap_vec[expr] = prim.Subscript(prim.Variable(get_vector_view_name(quantity)),
(vector_indices.get(vec_size), prim.Variable(new_iname)), (vector_indices.get(1), prim.Variable(new_iname)),
) )
other_insns = [i for i in knl.instructions if i.id not in [j.id for j in insns + new_insns]] other_insns = [i for i in knl.instructions if i.id not in [j.id for j in insns + new_insns]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment