Skip to content

Commit 7adc012

Browse files
authored
bugfix (#749)
1 parent b4924f1 commit 7adc012

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/perf-kernels/gemm.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -402,10 +402,10 @@ def get_line_vals_names(a_dtype=None, b_dtype=None):
402402
line_names_suffix_str = '.' + a_dtype + '.' + b_dtype
403403
line_vals = ['triton' + line_vals_suffix_str]
404404
line_names = ['Triton' + line_names_suffix_str]
405-
if not dtype_is_8_bit(name_to_torch_types[a_dtype]) and \
406-
not dtype_is_8_bit(name_to_torch_types[b_dtype]):
407-
line_vals += ['hipblaslt' + line_vals_suffix_str]
408-
line_names += ['hipblaslt' + line_names_suffix_str]
405+
if not dtype_is_8_bit(name_to_torch_types[a_dtype]) and \
406+
not dtype_is_8_bit(name_to_torch_types[b_dtype]):
407+
line_vals += ['hipblaslt' + line_vals_suffix_str]
408+
line_names += ['hipblaslt' + line_names_suffix_str]
409409

410410
return line_vals, line_names
411411

0 commit comments

Comments
 (0)