1. 24 5月, 2023 1 次提交
  2. 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
  3. 22 5月, 2023 2 次提交
  4. 20 5月, 2023 2 次提交
  5. 19 5月, 2023 1 次提交
  6. 18 5月, 2023 1 次提交
  7. 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
  8. 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
  9. 14 4月, 2023 1 次提交
  10. 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
  11. 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
  12. 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
  13. 02 3月, 2023 1 次提交
  14. 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
  15. 09 2月, 2023 1 次提交