Skip to content

Commit da907b1

Browse files
committed
Removed redundant comments / printing
1 parent b682506 commit da907b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kernel_tuner/runners/sequential.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def run(self, parameter_space, tuning_options):
100100
params = process_metrics(params, tuning_options.metrics)
101101

102102
# get the framework time by estimating based on other times
103-
total_time = 1000 * ((perf_counter() - self.start_time) - warmup_time) # TODO is it valid that we deduct the warmup time here?
103+
total_time = 1000 * ((perf_counter() - self.start_time) - warmup_time)
104104
params['strategy_time'] = self.last_strategy_time
105105
params['framework_time'] = max(total_time - (params['compile_time'] + params['verification_time'] + params['benchmark_time'] + params['strategy_time']), 0)
106106
params['timestamp'] = str(datetime.now(timezone.utc))

kernel_tuner/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def check_block_size_names(block_size_names):
221221
if not isinstance(block_size_names, list):
222222
raise ValueError("block_size_names should be a list of strings!")
223223
if len(block_size_names) > 3:
224-
raise ValueError(f"block_size_names should not contain more than 3 names! ({block_size_names=})")
224+
raise ValueError("block_size_names should not contain more than 3 names!")
225225
if not all([isinstance(name, "".__class__) for name in block_size_names]):
226226
raise ValueError("block_size_names should contain only strings!")
227227

0 commit comments

Comments
 (0)