Commit d61483bf authored by Jan Hönig's avatar Jan Hönig
Browse files

Fixed kerncraft coupling for new kerncraft version

parent 7a34c762
......@@ -67,7 +67,7 @@ class PyStencilsKerncraftKernel(kerncraft.kernel.Kernel):
for field in fieldsAccessed:
layout = getLayoutFromStrides(field.strides)
permutedShape = list(field.shape[i] for i in layout)
self.set_variable(field.name, str(field.dtype), permutedShape)
self.set_variable(field.name, str(field.dtype), tuple(permutedShape))
for param in ast.parameters:
if not param.isFieldArgument:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment