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: