Skip to content

Commit 171a0e2

Browse files
committed
add some comment
1 parent 5377edd commit 171a0e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

paddle/fluid/operators/gru_op.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ class GRUCPUKernel : public framework::OpKernel<T> {
276276
context.Attr<std::string>("gate_activation"));
277277

278278
#ifdef PADDLE_WITH_MKLML
279+
// use MKL packed to speedup GEMM
279280
if (FLAGS_paddle_num_threads >= 4) {
280281
auto blas = math::GetBlas<DeviceContext, T>(dev_ctx);
281282
T* packed_gate = blas.GEMM_ALLOC(CblasBMatrix, 1 /*height of C*/,

0 commit comments

Comments
 (0)