From 61d7bdcbb06c43e48dd73f16346e5345a20525aa Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Wed, 5 Oct 2016 13:52:42 +0200
Subject: [PATCH] Introduce option that turns off boostable_into branch

---
 python/dune/perftool/pdelab/localoperator.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/python/dune/perftool/pdelab/localoperator.py b/python/dune/perftool/pdelab/localoperator.py
index 01de0906..6773ca1a 100644
--- a/python/dune/perftool/pdelab/localoperator.py
+++ b/python/dune/perftool/pdelab/localoperator.py
@@ -275,6 +275,10 @@ def generate_kernel(integrals):
     arguments = [i for i in retrieve_cache_items("argument")]
     manglers = retrieve_cache_functions("mangler")
 
+    # Construct an options object
+    from loopy import Options
+    opt = Options(ignore_boostable_into_field=True)
+
     # Create the kernel
     from loopy import make_kernel, preprocess_kernel
     kernel = make_kernel(domains,
@@ -282,7 +286,8 @@ def generate_kernel(integrals):
                          arguments,
                          temporary_variables=temporaries,
                          function_manglers=manglers,
-                         target=DuneTarget()
+                         target=DuneTarget(),
+                         options=opt,
                          )
 
     from loopy import make_reduction_inames_unique
-- 
GitLab