Skip to content

Commit dc3f6a3

Browse files
fix issue #318
1 parent 5d553cf commit dc3f6a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_tuner/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ def process_cache(cache, kernel_options, tuning_options, runner):
11691169

11701170
# if file exists
11711171
else:
1172-
cached_data = read_cache(cache)
1172+
cached_data = read_cache(cache, open_cache=not tuning_options.simulation_mode)
11731173

11741174
# if in simulation mode, use the device name from the cache file as the runner device name
11751175
if runner.simulation_mode:

0 commit comments

Comments
 (0)