1. 07 Jan, 2020 1 commit
    • [RUNTIME][DSO] Improve TVMBackendPackedCFunc to allow return val (#4637) · 77c47748
      * [RUNTIME][DSO] Improve TVMBackendPackedCFunc to allow return value.
      
      Previously the signature of LibraryModule's PackedFunc does not support return value.
      This wasn't a limitation for our current usecase but could become one
      as we start to generate more interesting functions.
      
      This feature also start to get interesting as we move towards unified
      object protocol and start to pass object around.
      This PR enhances the function signature to allow return values.
      
      We also created two macros TVM_DLL_EXPORT_PACKED_FUNC and TVM_DLL_EXPORT_TYPED_FUNC
      to allow manual creation of functions that can be loaded by a LibraryModule.
      
      Examples are added in apps/dso_plugin_module.
      The change to TVMBackendPackedCFunc is backward compatible,
      as previous function will simply ignore the return value field.
      
      * address review comments
      Tianqi Chen committed
  2. 25 Dec, 2019 1 commit
    • [RUNTIME] Remove Extension VTable in favor of Unified Object system. (#4578) · e91cc5ab
      Before the unified object protocol, we support pass
      additional extension objects around by declaring a type as an extension type.
      The old extension mechanism requires the types to register their
      constructor and deleter to a VTable and does not enjoy the benefit of the
      self-contained deletion property of the new Object system.
      
      This PR upgrades the extension example to make use of the new object system
      and removed the old Extension VTable.
      
      Note that the register_extension funtion in the python side continues to work
      when the passed argument does not require explicit container copy/deletion,
      which covers the current usecases of the extension mechanism.
      Tianqi Chen committed
  3. 08 Apr, 2019 1 commit
    • [HEADER] Add Header to Comply with ASF Release Policy (#2982) · cffb4fba
      * [HEADER] ASF header dir=include
      
      * [HEADER] ASF Header dir=src
      
      * [HEADER] ASF Header -dir=python
      
      * [HEADER] ASF header dir=topi
      
      * [HEADER] ASF Header dir=nnvm
      
      * [HEADER] ASF Header -dir=tutorials
      
      * [HEADER] ASF Header dir=tests
      
      * [HEADER] ASF Header -dir=docker
      
      * fix whitespace
      
      * [HEADER] ASF Header -dir=jvm
      
      * [HEADER] ASF Header -dir=web
      
      * [HEADER] ASF Header --dir=apps
      
      * [HEADER] ASF Header --dir=vta
      
      * [HEADER] ASF Header -dir=go
      
      * temp
      
      * [HEADER] ASF Header --dir=rust
      
      * [HEADER] Add ASF Header --dir=cmake
      
      * [HEADER] ASF Header --dir=docs
      
      * [HEADER] Header for Jenkinsfile
      
      * [HEADER] ASF Header to toml and md
      
      * [HEADER] ASF Header to gradle
      
      * Finalize rat cleanup
      
      * Fix permission
      
      * Fix java test
      
      * temporary remove nnvm onnx test
      Tianqi Chen committed
  4. 21 Feb, 2019 1 commit
  5. 25 Sep, 2018 1 commit
  6. 03 Jul, 2017 1 commit
  7. 15 Jun, 2017 1 commit
  8. 31 May, 2017 1 commit