Skip to content

Commit 0c7ec04

Browse files
committed
Fix bug.
1 parent d2951a7 commit 0c7ec04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel_tuner/runners/sequential.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ def run(self, parameter_space, tuning_options):
8686
# attempt to warmup the GPU by running the first config in the parameter space and ignoring the result
8787
if not self.warmed_up:
8888
warmup_time = perf_counter()
89-
self.dev.compile_and_benchmark(self.kernel_source, self.gpu_args, params, kernel_options, tuning_options)
89+
self.dev.compile_and_benchmark(self.kernel_source, self.gpu_args, params, self.kernel_options, tuning_options)
9090
self.warmed_up = True
9191
warmup_time = 1e3 * (perf_counter() - warmup_time)
9292

93-
result = self.dev.compile_and_benchmark(self.kernel_source, self.gpu_args, params, kernel_options, tuning_options)
93+
result = self.dev.compile_and_benchmark(self.kernel_source, self.gpu_args, params, self.kernel_options, tuning_options)
9494

9595
params.update(result)
9696

0 commit comments

Comments
 (0)