From d9866baf93639de5bd960a6cf9a897f1274057ce Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.r.kempf@gmail.com> Date: Tue, 1 Sep 2015 14:38:30 +0200 Subject: [PATCH] Rename preambles.py to generation.py It is the genral code generation infrastructure after all. --- python/dune/perftool/{preambles.py => generation.py} | 0 python/dune/perftool/pdelab_preambles.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename python/dune/perftool/{preambles.py => generation.py} (100%) 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 4f426a9f..c3e3c725 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 -- GitLab