Skip to content

Commit 74a4e34

Browse files
Merge pull request #320 from KernelTuner/fix_issue_318
fix issue #318
2 parents 5d553cf + dc3f6a3 commit 74a4e34

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)