1. 09 4月, 2021 1 次提交
    • L
      [NPU] cherry-pick basic NPU components/allocator/operator/executor supports from ascendrc (#32144) · ccf5709d
      Leo Chen 提交于
      * [feature] support npu allocator (#30840)
      
      [feature] support npu allocator
      
      * [feature] support npu operator (#30951)
      
      [feature] support npu operator
      
      * [feature] support npu allocator, part 2 (#30972)
      
      * support npu allocator
      
      * add npu device context
      
      * fix some compile problem
      
      * fix some compile problem
      
      * add npu info
      
      * compile ok
      
      * fix include dir
      
      * support naive_best_fit_allocator
      
      * run ut ok, bug failed to exit
      
      * call aclrtResetDevice before exit
      
      * fix aclFinilize
      
      * add system allocatot test
      
      * add selected_gpus in gtest
      
      * add tensor_test for npu
      
      * support npu op, initial commit
      
      * add npu stream
      
      * add elementwise_add_op
      
      * compile ok
      
      * fix typo
      
      * fix elementwise_add_op_npu_test
      
      * support op run
      
      * test can run but failed
      
      * change aclopExecuteV2 to aclopCompileAndExecute
      
      * support parsing ascend rank table file (#31000)
      
      support parsing ascend rank table file
      
      * Fix reshape on GE graph. (#31084)
      
      Fix reshape on GE graph
      
      * add npu kernel for elementwise_sub and elementwise_sub_grad (#30973)
      
      * add npu sub op
      
      * fix typo
      
      * rename test
      
      * fix bug
      
      * fix bug
      
      * add fp16 kernel
      
      * fix typo
      
      * support sub grad op
      
      * support elementwise_sub_grad op
      Co-authored-by: Nfrankwhzhang <frankwhzhang@126.com>
      
      * Fix compilation problem (#31100)
      
      Fix compilation problem (#31100)
      
      * fix compile
      
      * fix code stype
      
      * remove const_cast
      
      * support adding correct npu op in pybind.h (#31143)
      
      * support adding correct npu op in pybind.h
      
      * refine code
      
      * [NPU] Support executor with NPU (#31057)
      
      * [NPU] Support executor with NPU
      
      * Fix code according to reviews
      
      * Fix code
      
      * Add unittest for sub op npu
      
      * refactor npu device manager (#31154)
      
      refactor npu device manager (#31154)
      
      * fix selected npus
      
      * fix compile
      
      * fix reading flags from env
      
      * format
      Co-authored-by: Nxiayanming <41795079@qq.com>
      Co-authored-by: Ngongweibao <weibao.gong@gmail.com>
      Co-authored-by: Nfrankwhzhang <frankwhzhang@126.com>
      Co-authored-by: Nliym27 <33742067+liym27@users.noreply.github.com>
      ccf5709d
  2. 04 2月, 2021 1 次提交
  3. 01 2月, 2021 1 次提交
  4. 15 1月, 2021 1 次提交
  5. 06 11月, 2020 1 次提交
  6. 04 11月, 2020 1 次提交
  7. 24 9月, 2020 1 次提交
    • W
      use iwyu clean include (#27267) · df43905f
      wanghuancoder 提交于
      * use iwyu clean include, test=develop, test=win
      
      * compilation error, test=develop
      
      * fix compilation error2, test=develop
      
      * fix compilation error3, test=develop
      
      * fix compilation error4, test=develop
      
      * fix compilation error5, test=develop
      
      * fix compilation error6, test=develop
      
      * fix compilation error7, test=develop
      
      * fix compilation error8, test=develop
      
      * fix compilation error8, test=develop
      
      * fix compilation error10, test=develop
      
      * fix compilation error11, test=develop
      df43905f
  8. 17 10月, 2019 1 次提交
    • L
      improve the efficiency of BuddyAllocator (#19888) · 569951c4
      liuwei1031 提交于
      * improve save and load behaviour, test=develop
      
      * code cleaning, test=develop
      
      * disable check_guards and update_guards in release version, test=develop
      
      * fix compilation issue, test=develop
      
      * add buddy_allocator speed test data, test=develop
      
      * fix compilation issue, test=develop
      
      * fix comment, test=develop
      
      * update function names according to the google C++ style guide, test=develop
      
      * tweak the test data format, test=develop
      
      * move buddy_allocator_test_data to paddle/fluid/testdata, test=develop
      
      * add accessor and mutator for Desc, test=develop
      569951c4
  9. 18 9月, 2019 1 次提交
  10. 01 9月, 2019 1 次提交
    • Z
      Add retry_allocator for gpu (#19409) · 0a73f720
      Zeng Jinle 提交于
      * add retry_allocator for gpu, test=develop
      
      * follow chengduoZH's comments, test=develop
      
      * follow huihuang's comments,test=develop
      
      * change f,l in enforce.h to be file,line, test=develop
      
      * increase code coverage by adding unittests, test=develop
      
      * fix CMakeLists.txt, test=develop
      0a73f720
  11. 31 7月, 2019 1 次提交
  12. 21 3月, 2019 1 次提交
    • S
      add more unittest · 953214ad
      sneaxiy 提交于
      modify allocator strategy
      remove changes of legacy buddy_allocator
      test=develop
      953214ad
  13. 19 3月, 2019 1 次提交
  14. 26 11月, 2018 1 次提交
  15. 08 11月, 2018 2 次提交
  16. 26 10月, 2018 1 次提交
  17. 16 9月, 2018 1 次提交
  18. 08 8月, 2018 1 次提交
  19. 25 7月, 2018 1 次提交
  20. 09 7月, 2018 1 次提交
  21. 08 4月, 2018 2 次提交
  22. 12 2月, 2018 1 次提交
  23. 10 2月, 2018 2 次提交
  24. 26 12月, 2017 1 次提交
  25. 01 11月, 2017 2 次提交
  26. 10 10月, 2017 1 次提交
  27. 05 10月, 2017 2 次提交
    • Y
      Use PADDLE_WITH_CUDA instead of PADDLE_WITH_GPU · 4558807c
      Yi Wang 提交于
      4558807c
    • Y
      Change `PADDLE_ONLY_CPU` to `PADDLE_WITH_GPU` · 84500f94
      Yu Yang 提交于
      By shell command
      
      ```bash
      sed -i 's#ifdef PADDLE_ONLY_CPU#ifndef PADDLE_WITH_GPU#g' `find ./paddle/ -name '*.h' -o -name '*.cc' -o -name '*.cpp' -o -name '*.c' -o -name '*.cu'`
      sed -i 's#ifndef PADDLE_ONLY_CPU#ifdef PADDLE_WITH_GPU#g' `find ./paddle/ -name '*.h' -o -name '*.cc' -o -name '*.cpp' -o -name '*.c' -o -name '*.cu'`
      ```
      84500f94
  28. 25 7月, 2017 1 次提交
  29. 11 7月, 2017 1 次提交
  30. 06 7月, 2017 2 次提交
  31. 05 7月, 2017 1 次提交
  32. 04 7月, 2017 3 次提交