Skip to content

Commit 20b7c96

Browse files
committed
Remove spurious parameter to function.
1 parent 5b93b9c commit 20b7c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_tuner/strategies/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def scale_from_params(params, tune_params, eps):
331331

332332
def check_num_devices(ensemble_size: int, simulation_mode: bool, runner):
333333

334-
num_devices = get_num_devices(runner.kernel_source.lang, simulation_mode=simulation_mode)
334+
num_devices = get_num_devices(simulation_mode=simulation_mode)
335335
if num_devices < ensemble_size:
336336
warnings.warn("Number of devices is less than the number of strategies in the ensemble. Some strategies will wait until devices are available.", UserWarning)
337337

0 commit comments

Comments
 (0)