@@ -137,7 +137,7 @@ void PGemmCN<T, Device>::multiply_single(const T alpha, const T* A, const T* B,
137137#else
138138 T real_beta = beta;
139139#endif
140- ModuleBase::gemm_op<T, Device>()(ctx, ' C' , ' N' , ncolA, ncolB, nrow, &alpha, A, LDA, B, LDB, &real_beta, C, LDC);
140+ ModuleBase::gemm_op<T, Device>()(' C' , ' N' , ncolA, ncolB, nrow, &alpha, A, LDA, B, LDB, &real_beta, C, LDC);
141141#ifdef __MPI
142142 if (this ->row_nproc > 1 )
143143 {
@@ -201,8 +201,7 @@ void PGemmCN<T, Device>::multiply_col(const T alpha, const T* A, const T* B, con
201201 T* C_start = C_local + shift;
202202 if (col_rank == ip)
203203 {
204- ModuleBase::gemm_op<T, Device>()(ctx,
205- ' C' ,
204+ ModuleBase::gemm_op<T, Device>()(' C' ,
206205 ' N' ,
207206 ncolA,
208207 ncolB,
@@ -224,8 +223,7 @@ void PGemmCN<T, Device>::multiply_col(const T alpha, const T* A, const T* B, con
224223 MPI_Status status;
225224 Parallel_Common::recv_dev<T, Device>(Atmp_device, size, ip, 0 , col_world, &status, B_tmp.data ());
226225 MPI_Wait (&requests[ip], &status);
227- ModuleBase::gemm_op<T, Device>()(ctx,
228- ' C' ,
226+ ModuleBase::gemm_op<T, Device>()(' C' ,
229227 ' N' ,
230228 m,
231229 ncolB,
@@ -321,8 +319,7 @@ void PGemmCN<T, Device>::multiply_row(const T alpha, const T* A, const T* B, con
321319 T* C_start = C + shift;
322320 if (col_rank == ip)
323321 {
324- ModuleBase::gemm_op<T, Device>()(ctx,
325- ' C' ,
322+ ModuleBase::gemm_op<T, Device>()(' C' ,
326323 ' N' ,
327324 ncolA,
328325 ncolB,
@@ -344,8 +341,7 @@ void PGemmCN<T, Device>::multiply_row(const T alpha, const T* A, const T* B, con
344341 MPI_Status status;
345342 Parallel_Common::recv_dev<T, Device>(Btmp_device, size, ip, 0 , col_world, &status, B_tmp.data ());
346343 MPI_Wait (&requests[ip], &status);
347- ModuleBase::gemm_op<T, Device>()(ctx,
348- ' C' ,
344+ ModuleBase::gemm_op<T, Device>()(' C' ,
349345 ' N' ,
350346 ncolA,
351347 m,
0 commit comments