Skip to content

Commit 16c2413

Browse files
tenpercentChao1Han
authored andcommitted
[ROCm][Inductor][CK] Fix codegen after ck signature change (pytorch#134483)
MakeArgument signature was changed in ROCm/composable_kernel#1453 adding splitK argument to universal gemm templates which are used to codegen addmm and matmul (part of the series started at pytorch#125453 ) # Testing `pytest test/inductor/test_ck_backend.py` Pull Request resolved: pytorch#134483 Approved by: https://github.com/ColinPeppler
1 parent cfd629c commit 16c2413

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torch/_inductor/codegen/rocm/ck_universal_gemm_template.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class CKGemmTemplate(CKTemplate):
5757
LDB,
5858
std::array<ck::index_t, {{1 if has_bias else 0}}>{ {{'LDD' if has_bias else ''}} },
5959
LDC,
60+
1, // kBatch
6061
PassThrough {}, // a_elementwise_op
6162
PassThrough {}, // b_elementwise_op
6263
{{epilogue}} // c_elementwise_op

0 commit comments

Comments
 (0)