1. 12 6月, 2023 1 次提交
    • K
      [IR] Support custom op printer (#54499) · 7d688871
      kangguangli 提交于
      * adapt_startup_program
      
      * refactor program translator
      
      * polish
      
      * add custom op printer hook
      
      * fix merge conflicts
      
      * fix top level op printer
      
      * adapt full int array op
      
      * modify by reviews
      
      * fix
      7d688871
  2. 08 6月, 2023 1 次提交
    • K
      [IR] IR attribute printer and support mutable attribute (#54369) · 51ca74bb
      kangguangli 提交于
      * add vector type support for program translator
      
      * polish
      
      * support basic attribute type
      
      * resolve conflicts
      
      * add verify for combine/slice and unittests
      
      * polish
      
      * support more type in attribute translator
      
      * modify by reviews
      
      * fix merge mistakes
      
      * refine code
      
      * refine code
      
      * add interface
      
      * fix: op name normalization
      
      * fix typo
      
      * refactor input translator
      
      * fix merge conflicts
      
      * fix op normalizer bug
      
      * refactor attribute translator
      
      * fix bug
      
      * refactor output translator
      
      * fix typo
      
      * fix
      
      * fix approval error
      
      * fix coverage
      
      * fix op_compat parser
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * refactor scalar attribute
      
      * draft
      
      * fix
      
      * fix op build
      
      * fix op build
      
      * temporarily save
      
      * adpat mutable attribute
      
      * refine op_comat_gen process
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * complete dialect attribute printer and refine ir_throw
      
      * polish code
      
      ---------
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      51ca74bb
  3. 05 6月, 2023 1 次提交
  4. 29 5月, 2023 1 次提交
  5. 23 5月, 2023 1 次提交
    • Z
      [IR] Add op definition auto code generator (#54026) · b49a7e26
      zhangbo9674 提交于
      * Use copy_if_different to avoid recompilation of generated cutlass
      kernels.
      
      * add program parameter dialect_interface
      
      * fix op create bug
      
      * add conv2d
      
      * draft of paddle converter
      
      * fix CI
      
      * fix windows CI
      
      * fix program destructor
      
      * printer draft
      
      * fix bug
      
      * printer draft finish
      
      * fix windows CI
      
      * reserve inplace semantics
      
      * revert program::destroy since no need to do topology sort
      
      * revert
      
      * modify by reviews
      
      * commit printer and resnet50 related ops
      
      * fix
      
      * fix
      
      * fix op definition
      
      * refine op dyn_cast
      
      * fix bug
      
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      
      * add code gen
      
      * refine code
      
      * refine code
      
      * refine code
      
      ---------
      Co-authored-by: Numiswing <umiswing@foxmail.com>
      Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
      b49a7e26
  6. 22 5月, 2023 1 次提交
  7. 19 5月, 2023 1 次提交
  8. 17 5月, 2023 1 次提交
    • Z
      [IR] Program & Parameter & PaddleDialect (#53557) · 78967ad2
      zhangbo9674 提交于
      * add program parameter dialect_interface
      
      * fix op create bug
      
      * add ir parameter convert pd variable methods
      
      * refine code
      
      * fix bug
      
      * refine by ut
      
      * refine ut
      
      * delete unused code
      
      * refine code
      
      * refine code by comment
      
      * reset WITH_NEW_IR
      
      * refine op attribute map
      
      * refine program and op create
      
      * refine program and op create
      78967ad2
  9. 06 5月, 2023 1 次提交
    • Z
      [IR] OpTrait & OpInterface & OpInfo (#52846) · d91d758d
      zhangbo9674 提交于
      * add OpTrait OpInterface ValueIterator TypeList
      
      * refine code
      
      * refine code
      
      * refine code
      
      * add opinfo
      
      * add typeid copy constructor
      
      * add trait interface construct method for opinfo_impl
      
      * add trait interface construct method for opinfo_impl
      
      * add trait interface construct method for opinfo_impl
      
      * add trait interface construct method for opinfo_impl
      
      * add trait interface construct method for opinfo_impl
      
      * add create
      
      * add member func for opinfo
      
      * fix compile bug
      
      * add op interface in ircontext
      
      * fix compile bug
      
      * fix compile bug
      
      * refine code
      
      * fix compile bug
      
      * add ut
      
      * refine ut
      
      * refine code of opinfo_impl
      
      * delete unused code
      
      * add dyncast for operation
      
      * refine comment
      
      * refine opinfo_impl
      
      * delete unused code
      
      * refine code by comment
      
      * refine code
      
      * refine code
      
      * refine code for registerOp
      
      * refine opfin create
      
      * refine code of search method of ircontext
      
      * refine op attribute
      
      * change opinfo_map key from type_id to string
      d91d758d
  10. 22 3月, 2023 1 次提交
    • Z
      [IR] Attribute system (#51636) · 586d9018
      zhangbo9674 提交于
      * add Attribute system to new ir
      
      * set StorageType to Storage in Type and Attribute
      
      * refine strAttr
      
      * refine name of StrAttribute
      
      * add DictionaryAttribute
      
      * refine code
      
      * refine dic_attr
      
      * refine code
      
      * Set DictionaryAttribute ParamKey is map
      
      * refine code
      
      * refine code by comment
      
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      
      * fix complie bug
      
      * refine code
      
      * add const for Attribute storage
      586d9018
  11. 02 3月, 2023 1 次提交