diff --git a/cpu/kernelcreation.py b/cpu/kernelcreation.py index 948a0871d391a8b4a52bfebb503f1a29c48d07a4..298adea4d43b0428de94d74aaed6c8dac3891982 100644 --- a/cpu/kernelcreation.py +++ b/cpu/kernelcreation.py @@ -123,7 +123,7 @@ def createIndexedKernel(listOfEquations, indexFields, functionName="kernel", typ loopBody.append(assignment) functionBody = Block([loopNode]) - ast = KernelFunction(functionBody, "cpu", functionName=functionName) + ast = KernelFunction(functionBody, functionName=functionName) fixedCoordinateMapping = {f.name: coordinateTypedSymbols for f in nonIndexFields} resolveFieldAccesses(ast, set(['indexField']), fieldToFixedCoordinates=fixedCoordinateMapping)