1. 08 6月, 2023 2 次提交
    • H
      [IR]add kernel dialect (#54428) · 950a29b2
      hong 提交于
      * add kernel dialect
      
      * change DenseTensorTypeStorage to DenseTensorType
      
      * add test case`
      950a29b2
    • 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
  2. 07 6月, 2023 2 次提交
  3. 06 6月, 2023 2 次提交
  4. 05 6月, 2023 2 次提交
  5. 04 6月, 2023 2 次提交
  6. 02 6月, 2023 5 次提交
  7. 01 6月, 2023 1 次提交
  8. 30 5月, 2023 2 次提交
  9. 29 5月, 2023 1 次提交
  10. 25 5月, 2023 1 次提交
    • Z
      [IR] Refine Builder (#54052) · 3143d8bf
      zhangbo9674 提交于
      * refine code
      
      * delete some unused code
      
      * refine code of build
      
      * refine code of build
      
      * add block
      
      * refine builder
      
      * refine code
      
      * refine code by comment
      
      * fix compiler bug
      3143d8bf
  11. 24 5月, 2023 2 次提交
  12. 23 5月, 2023 2 次提交
    • 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
    • C
      Fix typos (#53960) · d89e0367
      co63oc 提交于
      d89e0367
  13. 22 5月, 2023 2 次提交
  14. 20 5月, 2023 2 次提交
  15. 19 5月, 2023 1 次提交
  16. 18 5月, 2023 1 次提交
  17. 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
  18. 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
  19. 14 4月, 2023 1 次提交
  20. 12 4月, 2023 1 次提交
    • Z
      [IR] Value system && Operation (#51992) · fd97d7d1
      zhangbo9674 提交于
      * add Value OpResult OpOperand class
      
      * add Value OpResult OpOperand class
      
      * fix bug
      
      * fix bug
      
      * add utils
      
      * refine code
      
      * add ptr offset and reset method
      
      * add value impl
      
      * fix bug
      
      * refine comment of ValueImpl
      
      * refine code of OpResult
      
      * refine code of Value
      
      * add some comment
      
      * fix cpu compile bug
      
      * refine code
      
      * add op
      
      * add method for op & test value
      
      * refine unittest
      
      * refine code by comment
      
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      fd97d7d1
  21. 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
  22. 14 3月, 2023 1 次提交
    • Z
      [IR] Type system stage4: Add some built-in types and type conversion methods (#51112) · 3a3ff942
      zhangbo9674 提交于
      * add builtin-type DenseTensorType Float16Type Float64Type Int16Type Int64Type
      
      * refine comment
      
      * refine comment
      
      * add classof for Type class
      
      * refine test code
      
      * add get param func for DenseTensorType
      
      * add dyn_cast and refine isa
      
      * set default WITH_NEWIR=OFF
      
      * refine cast_utils
      
      * Refine code by comment
      
      * refine code by comment
      
      * refine code by comment
      
      * refine code by comment
      
      * fix bug of dyn_cast
      
      * set WITH_NEWIR=OFF
      
      * refine code by comment
      3a3ff942
  23. 02 3月, 2023 1 次提交
  24. 27 2月, 2023 1 次提交
    • Z
      [IR] Type system stage2: add class Type, type uniquer utils, class IRContext (#50412) · a5827f0e
      zhangbo9674 提交于
      * add TypeUniquer and IrContext
      
      * refine include code
      
      * add Type, TypeBase
      
      * add built-in type
      
      * add bulit-in Float32Type
      
      * refine ut
      
      * refine code
      
      * refine code
      
      * delete type_base
      
      * rename ImplType to StorageType
      
      * rename ImplType to StorageType
      
      * add macros util for register type
      
      * add macros util for register type
      
      * refine name
      
      * refine name
      
      * change storage manager
      
      * add multi_thread for ir_ctx
      
      * rwlock_2_spinlock, add REGISTER_TYPE_2_IRCONTEXT
      
      * DECLARE_TYPE_UTILITY_FUNCTOR
      
      * refine ircontext singleton
      
      * del destructor for ParametricStorageManager
      
      * refine code
      
      * Add necessary logs for debugging
      
      * refine ir_context instance
      
      * refine type get interface
      
      * refine code by comment
      a5827f0e
  25. 09 2月, 2023 1 次提交