Skip to content

Commit

Permalink
Add KBatch
Browse files Browse the repository at this point in the history
  • Loading branch information
alugorey authored and pruthvistony committed Oct 9, 2024
1 parent 15c61bb commit 24a3079
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aten/src/ATen/native/hip/ck_gemm_template.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ void gemm_impl(CUDABLAS_GEMM_ARGTYPES(Dtype)) {
int StrideB = ldb;
int StrideC = ldc;

int KBatch = 1;

float falpha = alpha;
float fbeta = beta;

Expand Down Expand Up @@ -268,6 +270,7 @@ void gemm_impl(CUDABLAS_GEMM_ARGTYPES(Dtype)) {
StrideA,
std::array<ck::index_t, 0>{},
StrideC,
KBatch,
a_element_op,
b_element_op,
c_element_op);
Expand Down

0 comments on commit 24a3079

Please sign in to comment.