Add KBatch support for gemm_ab_scale (#2740)

* Add KBatch support for gemm_ab_scale

* Revert kernel parameters change

* Remove printing

* fix formatting

* fix check

* Use {} in if

---------

Co-authored-by: Adam Osewski <19374865+aosewski@users.noreply.github.com>
This commit is contained in:
Sami Remes
2025-10-09 07:33:16 +01:00
committed by GitHub
parent e99356dabc
commit 9d4bfe3932
5 changed files with 34 additions and 12 deletions

View File

@@ -47,6 +47,7 @@ bool profile_gemm_ab_scale_impl(int do_verification,
int StrideA,
int StrideB,
int StrideE,
int KBatch,
int n_warmup,
int n_iter,
uint64_t rotating = 0)
@@ -238,6 +239,7 @@ bool profile_gemm_ab_scale_impl(int do_verification,
a_element_op,
b_element_op,
c_element_op);
op_ptr->SetKBatch(argument_ptr.get(), KBatch);
auto invoker_ptr = op_ptr->MakeInvokerPointer();