diff --git a/loopy/codegen/__init__.py b/loopy/codegen/__init__.py index 3a2a351f3d534eff546fc50280d0109a5f69fbff..9a7ef8c911e7bd58835f1ca8b35800838d9e29e8 100644 --- a/loopy/codegen/__init__.py +++ b/loopy/codegen/__init__.py @@ -331,7 +331,7 @@ class ImplementedDataInfo(Record): # }}} -code_gen_cache = PersistentDict("loopy-code-gen-cache-"+VERSION_TEXT, +code_gen_cache = PersistentDict("loopy-code-gen-cache-v2-"+VERSION_TEXT, key_builder=LoopyKeyBuilder()) diff --git a/loopy/preprocess.py b/loopy/preprocess.py index 8edddc2bdfa78cec6674e702661b1d6f6f1a4057..04e550a87116b1a40c2acc03799872b46ed9a2e3 100644 --- a/loopy/preprocess.py +++ b/loopy/preprocess.py @@ -1071,7 +1071,7 @@ def adjust_local_temp_var_storage(kernel, device): # }}} -preprocess_cache = PersistentDict("loopy-preprocess-cache-"+VERSION_TEXT, +preprocess_cache = PersistentDict("loopy-preprocess-cache-v2-"+VERSION_TEXT, key_builder=LoopyKeyBuilder()) diff --git a/loopy/schedule.py b/loopy/schedule.py index 2a2f3e75db9716e09542778d2916c02e0feef603..ccf707a22856f55c1d400b9c9e9764ba7d280edb 100644 --- a/loopy/schedule.py +++ b/loopy/schedule.py @@ -1108,7 +1108,7 @@ def generate_loop_schedules(kernel, debug_args={}): # }}} -schedule_cache = PersistentDict("loopy-schedule-cache-v2-"+VERSION_TEXT, +schedule_cache = PersistentDict("loopy-schedule-cache-v3-"+VERSION_TEXT, key_builder=LoopyKeyBuilder())