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

[skip ci][WIP] Apply trasformation

Decision about loop order should be done with autotuning in the end.
parent 444ce6ca
No related branches found
No related tags found
No related merge requests found
...@@ -278,6 +278,10 @@ def realize_sumfact_kernel_function(sf): ...@@ -278,6 +278,10 @@ def realize_sumfact_kernel_function(sf):
) )
}) })
# Register kernel transformations
from dune.codegen.sumfact.transformations import reorder_loops_in_tensor_contraction
transform(reorder_loops_in_tensor_contraction, 'lkji')
# Construct a loopy kernel object # Construct a loopy kernel object
from dune.codegen.pdelab.localoperator import extract_kernel_from_cache from dune.codegen.pdelab.localoperator import extract_kernel_from_cache
args = ("const char* buffer0", "const char* buffer1") + sf.interface.signature_args args = ("const char* buffer0", "const char* buffer1") + sf.interface.signature_args
......
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