Skip to content
Snippets Groups Projects
Commit ff906276 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Remove the effects of the mystery bug...

parent 227304ca
No related branches found
No related tags found
No related merge requests found
...@@ -491,9 +491,15 @@ def extract_kernel_from_cache(tag, wrap_in_cgen=True): ...@@ -491,9 +491,15 @@ def extract_kernel_from_cache(tag, wrap_in_cgen=True):
preambles = [(i, p) for i, p in enumerate(retrieve_cache_items("{} and preamble".format(tag)))] preambles = [(i, p) for i, p in enumerate(retrieve_cache_items("{} and preamble".format(tag)))]
kernel = kernel.copy(preambles=preambles) kernel = kernel.copy(preambles=preambles)
# Remove inames that have become obsolete
kernel = lp.remove_unused_inames(kernel)
# Do the loopy preprocessing! # Do the loopy preprocessing!
kernel = preprocess_kernel(kernel) kernel = preprocess_kernel(kernel)
# *REALLY* ignore boostability. This is - so far - necessary due to a mystery bug.
kernel = kernel.copy(instructions=[i.copy(boostable=False, boostable_into=frozenset()) for i in kernel.instructions])
if wrap_in_cgen: if wrap_in_cgen:
# Wrap the kernel in something which can generate code # Wrap the kernel in something which can generate code
from dune.perftool.pdelab.signatures import assembly_routine_signature from dune.perftool.pdelab.signatures import assembly_routine_signature
......
...@@ -38,7 +38,7 @@ def no_vectorization(sumfacts): ...@@ -38,7 +38,7 @@ def no_vectorization(sumfacts):
sumf.restriction, sumf.restriction,
sumf.a_matrices, sumf.a_matrices,
get_counted_variable("buffer"), get_counted_variable("buffer"),
get_counted_variable(restricted_name("input", sumf.restriction)), get_counted_variable("input"),
None) 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