1. 20 6月, 2023 1 次提交
    • Z
      [IR] Change IR from Static library to dynamic library (#54729) · 24a3cb52
      zhangbo9674 提交于
      * new_ir to shared
      
      * refine code
      
      * add ir lib path to env
      
      * refine type
      
      * refine code
      
      * fix bug
      
      * fix bug
      
      * refine code
      
      * refine code
      
      * close win
      
      * refine code
      
      * refine code
      
      * refine code
      
      * add win share
      
      * refine code
      
      * refie code
      
      * refine code
      
      * refine code
      
      * refien code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * solve conflict
      
      * solve conflict
      
      * fix bug
      
      * refine code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * refine code
      
      * fix interpretercore program bug
      
      * delete unuse code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix cinn bug
      
      * fix cinn bug
      
      * debug
      
      * fix cinn bug
      
      * delete unused code
      
      * fix cinn bug
      
      * fix cinn bug
      
      * fix  ug
      
      * test win openblas
      
      * test win openblas
      
      * fix win openblas bug
      
      * polish code
      
      * fix win open blas bug
      
      * close win dll
      
      * fix flag bug
      
      * test for windows
      
      * fix compile bug
      24a3cb52
  2. 09 6月, 2023 1 次提交
  3. 02 6月, 2023 1 次提交
  4. 29 5月, 2023 1 次提交
  5. 24 5月, 2023 1 次提交
  6. 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
  7. 19 5月, 2023 1 次提交
  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. 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
  10. 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
  11. 02 3月, 2023 1 次提交
  12. 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