Skip to content

Commit ab22834

Browse files
committed
Add new kernel config for AMD GPUs
1 parent 2d888d7 commit ab22834

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

torch/_inductor/kernel/mm_common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ def filtered_configs(
127127
{"config": (32, 32, 128, 2, 4), "cond": torch.version.hip is None},
128128
{"config": (64, 64, 16, 2, 4), "cond": True},
129129
{"config": (32, 32, 16, 1, 2), "cond": True},
130+
{"config": (128, 128, 64, 2, 8), "cond": torch.version.hip is not None},
130131
]
131132

132133
int8_mm_kernel_configs = [
@@ -144,6 +145,7 @@ def filtered_configs(
144145
# {"config": (32, 32, 16, 1, 2), "cond": True},
145146
{"config": (128, 256, 128, 3, 8), "cond": torch.version.hip is None},
146147
{"config": (256, 128, 128, 3, 8), "cond": torch.version.hip is None},
148+
{"config": (128, 128, 64, 2, 8), "cond": torch.version.hip is not None},
147149
]
148150

149151
# Create filtered list of configs based on cond evaluation

0 commit comments

Comments
 (0)