Skip to content

Commit 0250d53

Browse files
jerrymannilpruthvistony
authored andcommitted
Add new kernel config for AMD GPUs
1 parent 31de302 commit 0250d53

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
@@ -128,6 +128,7 @@ def filtered_configs(
128128
{"config": (32, 32, 128, 2, 4), "cond": torch.version.hip is None},
129129
{"config": (64, 64, 16, 2, 4), "cond": True},
130130
{"config": (32, 32, 16, 1, 2), "cond": True},
131+
{"config": (128, 128, 64, 2, 8), "cond": torch.version.hip is not None},
131132
]
132133

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

150152
# Create filtered list of configs based on cond evaluation

0 commit comments

Comments
 (0)