Skip to content

Commit

Permalink
Report default values in exported result to support changing them in …
Browse files Browse the repository at this point in the history
…the future
  • Loading branch information
AlexAUT authored and zhanglx13 committed Oct 15, 2024
1 parent 9105a9e commit 76ca04b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions python/perf-kernels/tools/tune_gemm/test_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ def test_matmul_performance_regression(self, config, record_property):

M, N, K, col_a, col_b, runConfig = tune_gemm.process_item(deepcopy(config))

rotating_buffer_size = config.get('rotating_buffer_size', 0)
icache_flush = config.get('icache_flush', False)
iters = config.get('iters', 200)
init_type = config.get('init_type', 'randn')

dtype_a = config.get('dtype_a', 'fp16')
dtype_b = config.get('dtype_b', 'fp16')
dtype_c = config.get('dtype_c', 'fp16')
rotating_buffer_size = config.setdefault('rotating_buffer_size', 0)
icache_flush = config.setdefault('icache_flush', False)
iters = config.setdefault('iters', 200)
init_type = config.setdefault('init_type', 'randn')

dtype_a = config.setdefault('dtype_a', 'fp16')
dtype_b = config.setdefault('dtype_b', 'fp16')
dtype_c = config.setdefault('dtype_c', 'fp16')

bias_vector = config.get('bias_vector', False)
bias_size = M if bias_vector else 0
Expand Down

0 comments on commit 76ca04b

Please sign in to comment.