1. 21 9月, 2021 1 次提交
    • A
      Reuse OneDNN handler for SGD and SUM for SelectedRows input tensors. (#35510) · 799f3861
      Adam Osewski 提交于
      * Create stateful OneDNNAXPYHandler object.
      
      This makes it possible to call it multiple times without recreating the
      oneDNN primitives every time.
      
      * Prepare SGDOpKernel to reuse its implementation from OneDNN kernel.
      
      * OneDNN SGD kernel.
      
      * Update call to use new OneDNNAXPYHandler object api.
      
      * Setup seed in proper place.
      
      * Enable OneDNN kernel only for single case.
      
      * For dense param and sparse grad.
      
      * Small refactor.
      
      * Enable oneDNN by op attr or by cmd line flag.
      
      * Use int64_t type for number of elements.
      
      * Support dense param and grad from OneDNN kernel.
      
      * Enable SGD OneDNN kernel when use MP BF16 optimizer.
      
      * Force non-copyable/movable OneDNNAXPYHandler.
      
      * Reuse OneDNNAXPYHandler for spare tensors in SUM op.
      
      * Fix SFINAE rules.
      
      * Remove recording event inside AXPY.
      
      * Get rid of internal primitive caching.
      
      * Stop use PP cache mechanims to store mem and primitive obj.
      * Handler obj store and reuse needed desc & prim
      
      * Do not derive from MKLDNNHandlerT
      799f3861
  2. 09 7月, 2021 1 次提交
  3. 21 6月, 2021 1 次提交
    • L
      Add AXPY oneDNN handler (#33632) · 773aabc7
      lidanqing 提交于
      * Add oneDNN AXPY handler.
      
      * Add fallback for small tensors.
      
      * Fix ifdefs
      
      * Remove unnecessary namespace prefixes and add missing headers.
      
      * Guard handler_axpy with proper ifdefs.
      
      * Compilation of this function is possible only when Paddle is not build
      with CUDA nor HIP.
      
      * Move AXPY handler code to separate files.
      
      * Use oneDNN AXPY handler in SGD op.
      
      * Use axpy handler only when Paddle is built with oneDNN.
      
      * Add test for SUM BF16 with big rows.
      
      * Fix SFINAE rules for elementwise_add_to.
      
      * Add test case for SGD with big rows.
      
      * update
      
      * update
      Co-authored-by: NAdam Osewski <adam.osewski@intel.com>
      773aabc7
  4. 26 5月, 2021 1 次提交
  5. 06 5月, 2021 1 次提交
  6. 04 2月, 2021 1 次提交
  7. 25 12月, 2020 1 次提交
  8. 10 9月, 2020 1 次提交
  9. 11 5月, 2020 1 次提交
    • C
      Add macro BOOST_GET to enrich the error information of boost :: get (#24175) · aa0f254f
      Chen Weihang 提交于
      * add new macro BOOST_GET_SAFELY & unittests, test=develop
      
      * add different macro type, test=develop
      
      * fix get macro type in executor, test=develop
      
      * four macro part change backup
      
      * using one macro for all case, test=develop
      
      * revert attribute change, test=develop
      
      * change to three func to solve gcc4.8 bug, test=develop
      
      * polish some details, test=develop
      aa0f254f
  10. 30 10月, 2019 1 次提交
  11. 05 9月, 2019 1 次提交
  12. 12 4月, 2019 1 次提交
  13. 09 1月, 2019 1 次提交
  14. 28 12月, 2018 1 次提交
  15. 14 12月, 2018 2 次提交
  16. 26 11月, 2018 1 次提交
  17. 14 11月, 2018 1 次提交
  18. 08 11月, 2018 1 次提交
  19. 27 10月, 2018 2 次提交
  20. 17 10月, 2018 1 次提交
  21. 15 10月, 2018 5 次提交
  22. 12 10月, 2018 1 次提交
  23. 11 10月, 2018 2 次提交
  24. 08 10月, 2018 1 次提交
  25. 18 9月, 2018 1 次提交
  26. 28 4月, 2018 1 次提交
  27. 12 2月, 2018 1 次提交
  28. 10 2月, 2018 2 次提交
  29. 08 2月, 2018 1 次提交
  30. 29 12月, 2017 2 次提交
  31. 27 12月, 2017 1 次提交