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. 31 10月, 2022 1 次提交
  3. 26 10月, 2022 1 次提交
    • H
      [MKLDNN] Delete mkldnn hard code of prior_box (#47068) · d78dd7ea
      HongyuJia 提交于
      * remove prior_box mkldnn hard code
      
      * add header file
      
      * simplify PD_VISIT_TYPE
      
      * decouple dependency between prior_box and density_prior_box
      
      * fix pragma omp parallel error
      
      * bypass #pragma omp_parallel_for error
      
      * polish code
      
      * remove visit_type headerfile
      
      * polish codestyle
      
      * polish codestyle
      
      * try fix CI error
      
      * add testcase, datatype=float64
      
      * reset test_prior_box testcase
      
      * add datacheck to DenseTensor
      
      * update template name
      
      * call prior_box with macro expand
      d78dd7ea
  4. 21 10月, 2022 1 次提交
  5. 18 10月, 2022 1 次提交
    • Z
      [code-gen] Support code-gen for opmaker of sparse op (#46993) · bdd3dde3
      zyfncg 提交于
      * support generating code of opmaker for backward op invoke forward op
      
      * gsupport code-gen of opmaker for sparse op
      
      * refind logic of choose phi kernrel
      
      * fix complie budg
      
      * fix code_gen bug
      
      * fix bug
      
      * fix kernel signature code-gen
      
      * fix complie bug of VarType
      
      * fix complie bug of VarType
      
      * fix test_sparse_conv_op
      
      * fix test_sparse_norm_op
      bdd3dde3
  6. 17 10月, 2022 1 次提交
  7. 13 10月, 2022 1 次提交
  8. 12 10月, 2022 1 次提交
  9. 11 10月, 2022 1 次提交
  10. 30 9月, 2022 1 次提交
  11. 28 9月, 2022 2 次提交
  12. 27 9月, 2022 1 次提交
  13. 22 9月, 2022 1 次提交
  14. 20 9月, 2022 1 次提交
  15. 19 9月, 2022 2 次提交
  16. 17 9月, 2022 1 次提交
  17. 15 9月, 2022 1 次提交
  18. 08 9月, 2022 1 次提交
  19. 07 9月, 2022 2 次提交
  20. 06 9月, 2022 2 次提交
  21. 05 9月, 2022 1 次提交
    • H
      [phi] Migrate memcpy kernel to PHI, hold NPU op (#45622) · 2f19a364
      HongyuJia 提交于
      * migrate memcpy to phi
      
      * fix typo error
      
      * fix typo error
      
      * fix  bug and testcase
      
      * fix typo, uniform_random_kernel.cc header
      
      * fix Alloc pinned bug
      
      * change GPUContext::GetPinnedPlace
      
      * add GetPinnedPlace function
      
      * add GetPinnedPlace function
      
      * restore default throw error
      
      * fix Unimplemented error
      
      * skip StandaloneExecutor testcase
      
      * delete memcpy_sig
      2f19a364
  22. 04 9月, 2022 1 次提交
  23. 02 9月, 2022 1 次提交
  24. 01 9月, 2022 1 次提交
  25. 30 8月, 2022 2 次提交
    • Z
      Remove extra attribute in OpMaker (#44310) · fe321f9a
      zyfncg 提交于
      * add runtime config in phi
      
      * add runtime attr for op desc and op
      
      * fix no proto error
      
      * adjust opdesc set_attr impl
      
      * try to remove conv_op extra attrs
      
      * add init runtime attr map
      
      * change extra header path
      
      * fix runtime_attr
      
      * fix trace_op
      
      * fix bug of pass
      
      * fix merge conflict
      
      * fix dygraph attrs
      
      * fix bug of pass
      
      * fix dygraph bug
      
      * fix unittest module
      
      * delete extra attr default
      
      * fix dropout kernel
      
      * polish code
      
      * fix extra output of instance_norm
      
      * fix merge confilct
      
      * fix op_desc bug
      
      * add extra attr in yaml for conv3d_transpose
      
      * don't remove extra input and output
      
      * fix save_inference_model
      
      * fix bug of batch_norm
      
      * revert some change
      
      * polish log
      
      * polish code
      
      * add code comment
      Co-authored-by: NChen Weihang <chenweihang@baidu.com>
      fe321f9a
    • K
      fix memcpy_h2d bug related to cuda stream setting when allocate memory (#45450) · 10abdb8f
      kangguangli 提交于
      * fix memcpy_h2d bug related to cuda stream setting when allocate memory
      
      * add header file
      
      * fix compile error for cpu only
      10abdb8f
  26. 25 8月, 2022 2 次提交
    • F
      add support for double attributes (#45390) · efab2eb4
      Feiyu Chan 提交于
      efab2eb4
    • K
      Transfer memcpy d2h from fluid to phi (#45150) · 0d14e74a
      kangguangli 提交于
      * transfer memcpy_d2h from fluid to phi
      
      * refine arg check and add comment
      
      * fix cannot fallback to phi kernel
      
      * fix gpu_context host alloc when tensor size = 0
      
      * add kernel for std::vector<DenseTensor> args
      
      * fix bugs in MemcpyD2HMultiIOKernel
      
      * remove useless header file
      
      * polish format
      
      * fix typo
      
      * add testcase for cudapinned place
      
      * refine check condition in test
      
      * polish error message
      
      * polish error message
      
      * remove header in fluid  directory
      
      * merge memcpy_h2d and memcpy_d2h into one file, change register method to simplify implementation
      
      * fix code style check
      0d14e74a
  27. 24 8月, 2022 1 次提交
  28. 23 8月, 2022 2 次提交
  29. 22 8月, 2022 1 次提交
  30. 19 8月, 2022 1 次提交
  31. 18 8月, 2022 2 次提交
  32. 17 8月, 2022 1 次提交