From dc3f6a3dda62484eca6a1fd40d14f01ebd4ca6c4 Mon Sep 17 00:00:00 2001 From: Ben van Werkhoven Date: Thu, 3 Jul 2025 14:57:14 +0200 Subject: [PATCH] fix issue #318 --- kernel_tuner/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel_tuner/util.py b/kernel_tuner/util.py index f0546109..4b204a45 100644 --- a/kernel_tuner/util.py +++ b/kernel_tuner/util.py @@ -1169,7 +1169,7 @@ def process_cache(cache, kernel_options, tuning_options, runner): # if file exists else: - cached_data = read_cache(cache) + cached_data = read_cache(cache, open_cache=not tuning_options.simulation_mode) # if in simulation mode, use the device name from the cache file as the runner device name if runner.simulation_mode: