Skip to content
Snippets Groups Projects
Commit 501f59d9 authored by Markus Holzer's avatar Markus Holzer
Browse files

Uncommend actuall fix

parent 9f3406f6
No related branches found
No related tags found
1 merge request!412[FIX] Vector Size for SVE instruction set is in free kernel parameters
Pipeline #69187 failed
......@@ -9,8 +9,8 @@ from pystencils.assignment import Assignment
from pystencils.enums import Target, Backend
from pystencils.field import Field
from pystencils.sympyextensions import fast_subs
from pystencils.typing import (CFunction, create_type, get_next_parent_of_type,
FieldPointerSymbol, FieldShapeSymbol, FieldStrideSymbol, TypedSymbol)
from pystencils.typing import (create_type, get_next_parent_of_type,
FieldPointerSymbol, FieldShapeSymbol, FieldStrideSymbol, TypedSymbol, CFunction)
NodeOrExpr = Union['Node', sp.Expr]
......@@ -272,7 +272,7 @@ class KernelFunction(Node):
parameters += [self.Parameter(s, []) for s in self.indexing.symbolic_parameters()]
# Exclude paramters of type CFunction. These parameters will result in a C function call that will be handled
# by including a respective header file in the compute kernel. Hence, it is not a free parameter.
# parameters = [p for p in parameters if not isinstance(p.symbol, CFunction)]
parameters = [p for p in parameters if not isinstance(p.symbol, CFunction)]
parameters.sort(key=lambda p: p.symbol.name)
return parameters
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment