1. 14 2月, 2019 1 次提交
  2. 13 2月, 2019 1 次提交
    • G
      Clang build fixes (#15628) · da9c94da
      Gabor Buella 提交于
      * Remove some superfluous std::move calls
      
      The std:move triggered a build error (with -Werror):
      ```
      [  9%] Building CXX object paddle/fluid/memory/allocation/CMakeFiles/allocator_facade.dir/allocator_facade.cc.o
      /home/tej/code/gbuella_paddle/paddle/fluid/memory/allocation/allocator_facade.cc:86:29: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move]
                  [this] { return std::move(CreateAllocatorWithChunk()); }, capacity);
                                  ^
      /home/tej/code/gbuella_paddle/paddle/fluid/memory/allocation/allocator_facade.cc:86:29: note: remove std::move call here
                  [this] { return std::move(CreateAllocatorWithChunk()); }, capacity);
                                  ^~~~~~~~~~                          ~
      1 error generated.
      ```
      
      See: https://reviews.llvm.org/D7633
      
      * Remove a superfluous lambda capture from framework/operator.h
      
      ```
      [ 10%] Building CXX object paddle/fluid/platform/CMakeFiles/device_context.dir/init.cc.o
      In file included from /home/tej/code/gbuella_paddle/paddle/fluid/platform/init.cc:19:
      /home/tej/code/gbuella_paddle/paddle/fluid/framework/operator.h:229:21: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
                         [this](Variable* var) { return var; });
                          ^~~~
      1 error generated.
      ```
      
      Changing it to `return it->second;`, as is in the function below.
      
      * Rethrow an exception (instead of copying it)
      
      ```
      [ 11%] Building CXX object paddle/fluid/framework/CMakeFiles/operator.dir/operator.cc.o
      /home/tej/code/gbuella_paddle/paddle/fluid/framework/operator.cc:191:13: error: local variable 'exception' will be copied despite being thrown by name [-Werror,-Wreturn-std-move]
            throw exception;
                  ^~~~~~~~~
      /home/tej/code/gbuella_paddle/paddle/fluid/framework/operator.cc:191:13: note: call 'std::move' explicitly to avoid copying
            throw exception;
                  ^~~~~~~~~
                  std::move(exception)
      
      ```
      
      See https://reviews.llvm.org/D43322 for an explanation of this diagnostic message.
      
      * Remove an unused variable
      
      ```
      /home/tej/code/gbuella_paddle/paddle/fluid/framework/operator.cc:884:16: error: private field 'scope_' is not used [-Werror,-Wunused-private-field]
        const Scope& scope_;
                     ^
      ```
      
      * struct ComputationOpHandle -> class ComputationOpHandle
      
      ```
      [ 13%] Building CXX object paddle/fluid/framework/details/CMakeFiles/memory_early_delete_pass.dir/memory_early_delete_pass.cc.o
      In file included from /home/tej/code/gbuella_paddle/paddle/fluid/framework/details/memory_early_delete_pass.cc:21:
      /home/tej/code/gbuella_paddle/paddle/fluid/framework/details/reference_count_pass_helper.h:30:1: error: class 'ComputationOpHandle' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
      class ComputationOpHandle;
      ^
      /home/tej/code/gbuella_paddle/paddle/fluid/framework/details/computation_op_handle.h:29:8: note: previous use is here
      struct ComputationOpHandle : public OpHandleBase {
             ^
      /home/tej/code/gbuella_paddle/paddle/fluid/framework/details/reference_count_pass_helper.h:30:1: note: did you mean struct here?
      class ComputationOpHandle;
      ^~~~~
      struct
      1 error generated.
      ```
      
      * Fix name() methods under fluid/operators
      
      ```
      In file included from /home/tej/code/gbuella_paddle/paddle/fluid/operators/jit/gen/act.cc:15:
      In file included from /home/tej/code/gbuella_paddle/paddle/fluid/operators/jit/gen/act.h:19:
      /home/tej/code/gbuella_paddle/paddle/fluid/operators/jit/gen/jitcode.h:71:23: error: 'name' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
        virtual const char* name() const = 0;
                            ^
      /home/tej/code/gbuella_paddle/paddle/fluid/operators/jit/gen_base.h:31:23: note: overridden virtual function is here
        virtual const char* name() const = 0;
                            ^
      ```
      
      test=develop
      da9c94da
  3. 12 2月, 2019 3 次提交
  4. 11 2月, 2019 1 次提交
  5. 08 2月, 2019 1 次提交
  6. 07 2月, 2019 1 次提交
  7. 06 2月, 2019 1 次提交
    • G
      Tests - add some missing to_string calls · 4975a905
      Gabor Buella 提交于
      ```
      /home/tej/code/gbuella_paddle/paddle/fluid/framework/ir/seqpool_concat_fuse_pass_tester.cc:167:40: error: adding 'int' to a string does not append to the string [-Werror,-Wstring-plus-int]
          std::string prefix = "seqpool_op_" + i;
                               ~~~~~~~~~~~~~~^~~
      /home/tej/code/gbuella_paddle/paddle/fluid/framework/ir/seqpool_concat_fuse_pass_tester.cc:167:40: note: use array indexing to silence this warning
          std::string prefix = "seqpool_op_" + i;
                                             ^
                               &             [  ]
      1 error generated.
      ```
      
      test=develop
      4975a905
  8. 01 2月, 2019 1 次提交
  9. 31 1月, 2019 7 次提交
  10. 30 1月, 2019 2 次提交
  11. 29 1月, 2019 1 次提交
  12. 28 1月, 2019 1 次提交
  13. 27 1月, 2019 1 次提交
  14. 26 1月, 2019 1 次提交
  15. 25 1月, 2019 1 次提交
  16. 22 1月, 2019 1 次提交
  17. 21 1月, 2019 2 次提交
    • D
      squash commits. test=develop · 8f3b2523
      dzhwinter 提交于
      8f3b2523
    • D
      Memory optimization of depthwise conv op and group norm op (#15313) · 9f8f0fc2
      Dun 提交于
      * mem opt
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * refine code  test=develop
      
      * refine code  test=develop
      
      * refine code  test=develop
      
      * refine code  test=develop
      
      * refine with cub test=develop
      
      * fix mkldnn test && remove comments && test=develop
      
      * polish code && test=develop
      
      * add only_forward test && test=develop
      9f8f0fc2
  18. 20 1月, 2019 1 次提交
  19. 19 1月, 2019 1 次提交
  20. 17 1月, 2019 1 次提交
  21. 10 1月, 2019 1 次提交
  22. 07 1月, 2019 2 次提交
    • M
      Add no lock optimize pass · 4bfa110f
      minqiyang 提交于
      test=develop
      4bfa110f
    • C
      Refactor MultiDevSSAGraphBuilder (#15090) · eabb2105
      chengduo 提交于
      * Refactor ParallelExecutor
      test=develop
      
      * extract Reduce and AllReduce mode from MultiDevSSAGraphBuilder
      test=develop
      
      * Refactor MultiDevSSAGraphBuilder
      test=developt
      
      * Remove enable_data_balance
      test=develop
      
      * code refine
      test=develop
      
      * remove data balance
      test=develop
      
      * refine ScaleLossGradOp
      test=develop
      
      * remove uncessary file
      test=develop
      
      * code refine
      test=develop
      
      * modify  function name
      test=develop
      
      * follow comments
      test=develop
      
      * add is_distribution field
      test=develop
      
      * set is_distribution
      test=develop
      
      * fix DistSSAGraphBuilder
      test=develop
      eabb2105
  23. 03 1月, 2019 1 次提交
  24. 02 1月, 2019 2 次提交
  25. 29 12月, 2018 1 次提交
  26. 28 12月, 2018 1 次提交
  27. 27 12月, 2018 2 次提交
    • M
      Add changes back · ef7d563d
      minqiyang 提交于
      test=develop
      ef7d563d
    • C
      [WIP] Refine MultiDevSSAGraph (#15040) · fe8495a7
      chengduo 提交于
      * refine parallel_exe
      test=develop
      
      * rename shared_var_device
      
      * code refine
      
      * add test_weight_decay
      
      * remove Sort
      test=develop
      
      * Add SortForReduce
      test=develop
      
      * code refine
      test=develop
      
      * follow comment
      test=develop
      fe8495a7