1. 01 11月, 2022 1 次提交
    • C
      Adapting device-specific Extra Attributes for the PHI kernel (#46342) · c923e6c9
      Chen Weihang 提交于
      * add extra attr property set
      
      * add type_info for all context
      
      * add onednn context to all context
      
      * fix context compile error
      
      * simplify conv kernel args
      
      * pass runtime attr into dev_ctx
      
      * fix marco error
      
      * clear conv_grad_kernel extra args
      
      * merge conv_grad_grad into conv_grad
      
      * clear conv2d_grad_grad extra attrs
      
      * clear yaml and eager extra attr
      
      * fix conv1d error
      
      * change to thread local
      
      * fix npu compile failed
      
      * try to fix windows compile failed
      
      * add conv2d onednn phi kernel
      
      * fix ci bugs (#36)
      
      * fix compile bugs (#38)
      
      * fix extra input transform bug (#39)
      
      * support dynamic created attr (#40)
      
      * reset extra info gen code
      
      * rm conv_grad_grad kernel
      
      * reimpl pass attr adapting
      
      * add int attr support
      
      * remove vector inputnames creating
      
      * fix map at error
      
      * Update paddle/phi/kernels/onednn/conv_grad_kernel.cc
      Co-authored-by: NSławomir Siwek <slawomir.siwek@intel.com>
      
      * remove useless extra attrs
      
      * replace mkldnn_engine by onednn_engine
      Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com>
      Co-authored-by: NSławomir Siwek <slawomir.siwek@intel.com>
      c923e6c9
  2. 27 10月, 2022 1 次提交
    • L
      make all cpp tests dynamic linked to libpaddle.so [except windows] (#47088) · 2096448b
      Leo Chen 提交于
      * make all cpp tests dynamic linked to libpaddle.so
      
      * add comments
      
      * keep old cc_test for some tests
      
      * fix some ut
      
      * make some ut use cc_test_old
      
      * fix typos and fit for win32
      
      * fix lib path
      
      * fix some tests
      
      * skip lite test
      
      * fit for rocm
      
      * fit for cinn
      
      * fit for mac
      
      * fit for win32
      
      * skip inference ut
      
      * skip  windows
      
      * fix coverage
      2096448b
  3. 26 10月, 2022 2 次提交
  4. 24 10月, 2022 2 次提交
  5. 20 10月, 2022 2 次提交
  6. 18 10月, 2022 1 次提交
    • S
      FC + activation fuse passes (#45183) · b7a23adb
      Sławomir Siwek 提交于
      * git
      
      * style
      
      * leave default relu in kernel
      
      * style
      
      * cleanup FCMKLDNN pattern
      
      * merge conflicts
      
      * update develop
      
      * update develop
      
      * add const
      
      * rename to oneDNN and adjust attributes
      
      * whitespace
      b7a23adb
  7. 17 10月, 2022 1 次提交
  8. 14 10月, 2022 1 次提交
  9. 11 10月, 2022 2 次提交
  10. 10 10月, 2022 1 次提交
    • P
      [PHI] transpose2_grad op migration (#46139) · e3407a80
      Paulina Gacek 提交于
      * op migrated, Copy(OneDNNContext, ...) added
      
      * mutable_data & op registration in fluid removed
      
      * refactoring
      
      * OneDNNGetDataType to uppercase
      
      * missing cpu check added, handler moved to .h file
      
      * name changed to transpose_grad
      
      * Copy changed back to TensorCopy
      
      * Resizing corrected, Copy(OneDNNContext) removed
      e3407a80
  11. 03 10月, 2022 2 次提交
  12. 30 9月, 2022 1 次提交
  13. 28 9月, 2022 3 次提交
  14. 26 9月, 2022 1 次提交
  15. 22 9月, 2022 3 次提交
    • P
      [PHI] Sum op migration (#46239) · 3448afc1
      Paulina Gacek 提交于
      * Sum kernel migrated to phi
      
      * Static cast added, file name changed
      
      * OneDNNGetDataType to uppercase
      
      * refactoring
      
      * AddOneDNNHandler changed to SumOneDNNHandler
      3448afc1
    • P
      [PHI] Migrate sgd and stack oneDNN kernels (#46374) · 4ae37aee
      Piotr Paturej 提交于
      * Convert slice+grad oneDNN fluid kernels to PHI
      
      * Change mutable_data to Alloc
      
      * Refactor licences
      4ae37aee
    • S
      [PHI] Migrate gelu kernels (#45596) · 567e2fc8
      Sławomir Siwek 提交于
      * gaussian random
      
      * mkldnn to onednn renaming
      
      * fix merge conflicts
      
      * remove fluid code
      
      * onednn renaming
      
      * gelu fwd
      
      * sort activations
      
      * gelu gradient
      
      * remove unused macros
      
      * merge conflicts
      
      * fix merge conflicts
      
      * remove extra contraint from gelu op
      567e2fc8
  16. 21 9月, 2022 2 次提交
    • P
      Revert pool+grad oneDNN kernel conversion (#45989) · dc31d2aa
      Piotr Paturej 提交于
      dc31d2aa
    • P
      [PHI] Migrate concat+grad, expand+grad, fill_constant, nearest_interp and... · 3d59fee5
      Piotr Paturej 提交于
      [PHI] Migrate concat+grad, expand+grad, fill_constant, nearest_interp and bilinear_interp oneDNN kernels (#45863)
      
      * Migrate concat+grad, expand+grad, fill_constant, nearest_interp_v2 and bilinear_interp_v2 oneDNN kernels to PHI
      
      * Remove old namespace variable
      
      * Fix invalid out dims error
      
      * Add mutable_data method to concat output
      
      * Add check for -1 dim before computing out_dims
      
      * Capitalize oneDNNGetDataType function name
      
      * Change fill_constant kernel to correct PHI kernel
      
      * Attempt to fix dims error
      
      * Fix fill_constant (full) kernel
      3d59fee5
  17. 20 9月, 2022 5 次提交
  18. 19 9月, 2022 1 次提交
    • Y
      [PHI]Move sum op to PHI (#45860) · 4b3f2af1
      YuanRisheng 提交于
      * move sum
      
      * fix ci bugs
      
      * fix ci bugs
      
      * fix set_lod bugs
      
      * fix infershape bugs
      
      * fix ci bugs
      
      * fix ci unittest bug
      
      * fix ci bugs
      
      * perfect code
      
      * update code according comment
      
      * add unittest
      
      * fix ci bugs
      4b3f2af1
  19. 15 9月, 2022 2 次提交
  20. 08 9月, 2022 1 次提交
    • P
      [PHI] Migrate cast, clip+grad and pool+grad oneDNN kernels (#45775) · 1a929c31
      piotrekobi 提交于
      * gaussian random
      
      * mkldnn to onednn renaming
      
      * fix merge conflicts
      
      * remove fluid code
      
      * onednn renaming
      
      * Move classes from mkldnn_reuse.h to onednn_reuse.h
      
      * Migrate pool+grad, clip+grad and cast oneDNN kernels to PHI
      
      * Refactor grad kernels into separate files
      
      * Fix CI failures
      
      * Fix Codestyle
      
      * Implement reviewer suggestions
      
      * Add new lines after includes for readability
      Co-authored-by: NSilv3S <slawomir.siwek@intel.com>
      1a929c31
  21. 07 9月, 2022 1 次提交
  22. 06 9月, 2022 1 次提交
  23. 04 9月, 2022 1 次提交
  24. 29 8月, 2022 1 次提交
    • S
      [PHI] Migrate relu6 and abs kernels (#45397) · 632bc1f2
      Sławomir Siwek 提交于
      * abs relu6 fwd
      
      * abs bwd
      
      * gaussian_random_kernel and mkldnn-onednn renaming
      
      * scale kernel
      
      * whitespace
      
      * whitespace
      
      * revert scale migration
      
      * whitespaces
      
      * revert changes to gaussian kernel
      
      * whitespaces
      632bc1f2
  25. 26 8月, 2022 1 次提交