diff --git a/python/dune/perftool/preambles.py b/python/dune/perftool/generation.py similarity index 100% rename from python/dune/perftool/preambles.py rename to python/dune/perftool/generation.py diff --git a/python/dune/perftool/pdelab_preambles.py b/python/dune/perftool/pdelab_preambles.py index 4f426a9f532917df982e6edcd3cafa6b2a42bac4..c3e3c7252095a9a3d7e1441ca1be58b770b6e8a3 100644 --- a/python/dune/perftool/pdelab_preambles.py +++ b/python/dune/perftool/pdelab_preambles.py @@ -1,4 +1,4 @@ -from dune.perftool.preambles import dune_preamble, dune_symbol, loop_domain, loopy_iname, temporary_variable, loopy_c_instruction, loopy_expr_instruction +from dune.perftool.generation import dune_preamble, dune_symbol, loop_domain, loopy_iname, temporary_variable, loopy_c_instruction, loopy_expr_instruction from dune.perftool.pdelab_names import name @dune_symbol @@ -36,7 +36,7 @@ def quadrature_iname(): quadrature_loop_domain("q") return "q" -from dune.perftool.preambles import _dune_decorator_factory, CInstructionCacheItem +from dune.perftool.generation import _dune_decorator_factory, CInstructionCacheItem quadrature_preamble = _dune_decorator_factory(cache_item_type=CInstructionCacheItem, inames=quadrature_iname()) @dune_symbol