1. 22 2月, 2019 10 次提交
  2. 21 2月, 2019 2 次提交
    • K
      Add new ut and remove unnecessary code · 1578c60b
      Krzysztof Binias 提交于
      test=develop
      1578c60b
    • D
      Profiler refine and add CUDA runtime api tracer (#15301) · a83e4704
      Dun 提交于
      * refine profiler && add runtime tracer
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * fix bug && test=develop
      
      * add thread id map && test=develop
      
      * test=develop
      
      * testing
      
      * bug fix
      
      * remove cuda event && refine code && test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * fix windows temp file && test=develop
      
      * test=develop
      
      * fix windows bug && test=develop
      
      * fix start up issue && test=develop
      
      * code polish &&  test=develop
      
      * remove unused code && test=develop
      
      * add some cupti cbid && test=develop
      
      * add FLAGS_multiple_of_cupti_buffer_size && test=develop
      
      * fix compile error && test=develop
      
      * add keyword && test=develop
      
      * fix && test=develop
      
      * code polish && test=develop
      a83e4704
  3. 20 2月, 2019 1 次提交
  4. 19 2月, 2019 4 次提交
    • T
      fix warnings (#15790) · e1c707fe
      tensor-tang 提交于
      * fix warnings
      
      test=develop
      
      * fix enforce test
      
      test=develop
      e1c707fe
    • M
      Enable cross_entropy operator for a ngraph engine (#15674) · df23a6f8
      mozga-intel 提交于
      * Enable cross_entropy operator for a ngraph engine
      test=develop
      
      * Update tests
      test=develop
      
      * Added PADDLE_ENFORCE for the batch_norm operator
      test=develop
      
      * Update the message about which format are supported right now
      test=develop
      df23a6f8
    • Y
      Correct the doc in Python API (#15725) · 56a5039e
      Yiqun Liu 提交于
      * Correct the comment in control_flow.py.
      
      * Correct the argument list of ops.
      test=develop
      
      * Update API.spec.
      test=develop
      
      * Skip op_callstack attr for all op apis.
      test=develop
      
      * Remove use_mkldnn and is_test from python api.
      test=develop
      
      * Remove use_mkldnn and is_test from op_proto_maker and hard-coding them in python when generating doc string.
      test=develop
      56a5039e
    • B
      Add ngraph op coverage (#15721) · 72061b0a
      baojun 提交于
      72061b0a
  5. 18 2月, 2019 5 次提交
  6. 15 2月, 2019 3 次提交
  7. 14 2月, 2019 6 次提交
  8. 13 2月, 2019 9 次提交
    • B
      Add ngraph sum, sigmoid, relu_grad and tanh_grad op (#15642) · c47e258e
      baojun 提交于
      * Added ngraph sum op test=develop
      
      * Added sigmoid, relu_grad and tanh_grad test=develop
      
      * remove duplicates test=develop
      c47e258e
    • M
      Fix old FC backward weights descriptor creation · 7a8eff36
      Michal Gallus 提交于
      test=develop
      7a8eff36
    • C
      fix potential bug (#15688) · ad61e1b2
      chengduo 提交于
      test=develop
      ad61e1b2
    • J
      support multiple var types for expand op, test=develop · 8fc0fc31
      jerrywgz 提交于
      8fc0fc31
    • T
      fix aligned-new error in jitkernel (#15626) · fb2a7b23
      tensor-tang 提交于
      * fix aligned-new error in jitkernel
      
      test=develop
      
      * override genbase new to fix mis-align
      
      test=develop
      fb2a7b23
    • T
      fix jitcode name · 15d7220f
      tensor-tang 提交于
      test=develop
      15d7220f
    • L
      fix security issue 27, 38 test=develop · b1f97a6f
      liuwei1031 提交于
      b1f97a6f
    • T
      fix generate doc error in activation ops · 882e7ec4
      Tao Luo 提交于
      test=develop
      882e7ec4
    • 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