From 6fbf29d71924533b040b5b1a3c3f48d15774f208 Mon Sep 17 00:00:00 2001 From: jdsteve2 Date: Thu, 8 Feb 2018 21:36:22 -0600 Subject: [PATCH] fixed flake8 issue --- loopy/statistics.py | 1 + 1 file changed, 1 insertion(+) diff --git a/loopy/statistics.py b/loopy/statistics.py index 7babc7b6b..64b849a43 100755 --- a/loopy/statistics.py +++ b/loopy/statistics.py @@ -1346,6 +1346,7 @@ def get_mem_access_map(knl, numpy_types=True, count_redundant_work=False, cache_holder = CacheHolder() from pytools import memoize_in + @memoize_in(cache_holder, "insn_count") def get_insn_count(knl, insn_id, count_granularity='workitem'): insn = knl.id_to_insn[insn_id] -- GitLab