mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
Use the same heuristics for mfma type as PR#352 (#366)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user