Skip to content

Commit 608d0d8

Browse files
committed
In verbose mode, print the size of the searchspace after restrictions
1 parent 59fa5c0 commit 608d0d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel_tuner/interface.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,8 @@ def tune_kernel(
670670

671671
# create search space
672672
searchspace = Searchspace(tune_params, restrictions, runner.dev.max_threads)
673+
if verbose:
674+
print(f"Searchspace has {searchspace.size} configurations after restrictions.")
673675

674676
# call the strategy to execute the tuning process
675677
tuning_options["start_time"] = perf_counter()

0 commit comments

Comments
 (0)