From 171a0e2b42e1dea669056bbc6093e572e1c88e0a Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Mon, 13 Aug 2018 18:01:43 +0800 Subject: [PATCH] add some comment --- paddle/fluid/operators/gru_op.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/fluid/operators/gru_op.cc b/paddle/fluid/operators/gru_op.cc index 2b5094925c1..087f903a8bb 100644 --- a/paddle/fluid/operators/gru_op.cc +++ b/paddle/fluid/operators/gru_op.cc @@ -276,6 +276,7 @@ class GRUCPUKernel : public framework::OpKernel { context.Attr("gate_activation")); #ifdef PADDLE_WITH_MKLML + // use MKL packed to speedup GEMM if (FLAGS_paddle_num_threads >= 4) { auto blas = math::GetBlas(dev_ctx); T* packed_gate = blas.GEMM_ALLOC(CblasBMatrix, 1 /*height of C*/, -- GitLab