From 945f3cf631bfa962a4f2a5a33cda162d7c7cca55 Mon Sep 17 00:00:00 2001 From: Kevin Date: Mon, 12 Aug 2019 10:07:37 +0800 Subject: [PATCH] fix code too big test=develop (#19111) Fix seq_pool failed when input dims is too large. Resolve issue #3023 --- paddle/fluid/operators/jit/gen/seqpool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/jit/gen/seqpool.cc b/paddle/fluid/operators/jit/gen/seqpool.cc index d9e5904add..ec8e4e9827 100644 --- a/paddle/fluid/operators/jit/gen/seqpool.cc +++ b/paddle/fluid/operators/jit/gen/seqpool.cc @@ -66,7 +66,7 @@ class SeqPoolCreator : public JitCodeCreator { ((attr.w / YMM_FLOAT_BLOCK + 4 /* for rest */) * 4 /* load, mul and save */ + 256) * - 8; + 16; } std::unique_ptr CreateJitCode( const seq_pool_attr_t& attr) const override { -- GitLab