diff --git a/python/dune/perftool/loopy/target.py b/python/dune/perftool/loopy/target.py index cc21196fa1679ad109510e3a65155b0394c60d3d..9c551db9a6788b5628a3eb8c5eba287846b5a281 100644 --- a/python/dune/perftool/loopy/target.py +++ b/python/dune/perftool/loopy/target.py @@ -44,7 +44,6 @@ def dtype_floatingpoint(): raise NotImplementedError("{}bit floating point type".format(bits)) -@pt.memoize def numpy_to_cpp_dtype(key): _registry = {'float32': 'float', 'int32': 'int', diff --git a/python/dune/perftool/sumfact/autotune.py b/python/dune/perftool/sumfact/autotune.py index d9416e84bee4e4f5e1e32221c07c4baab08beb1e..3e8eef5ff59ac85bad79c456bacd6aa7bf26a53c 100644 --- a/python/dune/perftool/sumfact/autotune.py +++ b/python/dune/perftool/sumfact/autotune.py @@ -88,7 +88,6 @@ def generate_standalone_code(sf, filename, logname): set_option("opcounter", False) from dune.perftool.loopy.target import type_floatingpoint real = type_floatingpoint() - set_option("opcounter", opcounting) f.write(" using RF = {};\n".format(real)) f.write(" using DF = {};\n".format(real)) @@ -182,6 +181,7 @@ def generate_standalone_code(sf, filename, logname): " std::cout << accum;\n", "}\n", ]) + set_option("opcounter", opcounting) def autotune_realization(sf):