Skip to content

Commit

Permalink
Use the same heuristics for mfma type as PR#352 (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglx13 authored Oct 19, 2023
1 parent 20f316b commit f963c04
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/amd/gemm/tune_gemm.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ def get_full_tuning_space():
def prune_configs(M, N, K, configs):
pruned_configs = []

## TODO: improve how we deal with mfma16 vs mfma32
## after it becomes a tuning parameter
mfma_type = os.getenv('MFMA_TYPE')
if mfma_type == '16':
if M < 32 or N < 32:
mfma = 16
else:
mfma = 32
Expand Down

0 comments on commit f963c04

Please sign in to comment.