Skip to content
Snippets Groups Projects
Commit 4673a1e5 authored by René Heß's avatar René Heß
Browse files

Small cleanup

parent dc799b48
No related branches found
No related tags found
No related merge requests found
......@@ -82,11 +82,11 @@ def pymbolic_trialfunction_gradient(element, restriction, component, visitor):
if index is not None:
shape = shape + (4,)
inp = initialize_buffer(buf,
base_storage_size=product(max(mat.rows, mat.cols) for mat in a_matrices),
num=2
).get_temporary(shape=shape,
name=inp,
)
base_storage_size=product(max(mat.rows, mat.cols) for mat in a_matrices),
num=2
).get_temporary(shape=shape,
name=inp,
)
if insn_dep is None:
insn_dep = frozenset({Writes(inp)})
......
......@@ -308,7 +308,9 @@ def generate_accumulation_instruction(visitor, accterm, measure, subdomain_id):
@generator_factory(item_tags=("sumfactkernel",), context_tags=("kernel",), cache_key_generator=lambda a, b, s, **kw: (a, b, s, kw.get("restriction", 0)))
def sum_factorization_kernel(a_matrices, buf, stage,
def sum_factorization_kernel(a_matrices,
buf,
stage,
insn_dep=frozenset({}),
additional_inames=frozenset({}),
preferred_position=None,
......
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