From af4417fa8c3594cc4a2547a734991786ea3cbd2d Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.r.kempf@gmail.com> Date: Fri, 11 Sep 2015 10:55:49 +0200 Subject: [PATCH] Move the loopy specifics to a separate subpackage --- python/dune/perftool/loopy/__init__.py | 0 python/dune/perftool/{ => loopy}/target.py | 0 python/dune/perftool/pdelab/localoperator.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 python/dune/perftool/loopy/__init__.py rename python/dune/perftool/{ => loopy}/target.py (100%) diff --git a/python/dune/perftool/loopy/__init__.py b/python/dune/perftool/loopy/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/python/dune/perftool/target.py b/python/dune/perftool/loopy/target.py similarity index 100% rename from python/dune/perftool/target.py rename to python/dune/perftool/loopy/target.py diff --git a/python/dune/perftool/pdelab/localoperator.py b/python/dune/perftool/pdelab/localoperator.py index ebb08e04..2cada944 100644 --- a/python/dune/perftool/pdelab/localoperator.py +++ b/python/dune/perftool/pdelab/localoperator.py @@ -85,7 +85,7 @@ def generate_term(integrand=None, measure=None): # Extract the information, which is needed to create a loopy kernel. # First extracting it, might be useful to alter it before kernel generation. from dune.perftool.generation import retrieve_cache_items - from dune.perftool.target import DuneTarget + from dune.perftool.loopy.target import DuneTarget domains = [i for i in retrieve_cache_items("domain")] instructions = [i for i in retrieve_cache_items("instruction")] temporaries = {i.name:i for i in retrieve_cache_items("temporary")} -- GitLab