1. 01 Nov, 2019 1 commit
    • [NODE][REFACTOR] Rename IRFunctor->NodeFunctor, use func pointer (#4247) · 9a3d2ec9
      * [NODE][REFACTOR] Rename IRFunctor->NodeFunctor, use function pointer for dispatching.
      
      Previously we used std::function for the functor dispatching.
      It introduces additional overhead and problems during dll destruction(of std::function).
      
      This PR changes the std::function to function pointers.
      This change a bit restrictions around the set_dispatch that we can get around,
      but will improve the general efficiency by reducing one level of indirection in the std::function.
      We also no longer need special marcos to register functions to the Functor.
      Tianqi Chen committed
  2. 21 Oct, 2019 1 commit
    • [REFACTOR][NODE][RUNTIME] Move Node to the new Object protocol. (#4161) · 7895adb2
      * [REFACTOR][NODE][RUNTIME] Move Node to the new Object protocol.
      
      This PR removes the original node system, and make node as a subclass of Object.
      This is a major refactor towards a better unified runtime object system.
      
      List of changes in the refactor:
      
      - We now hide data_ field, use Downcast explicitly to get a sub-class object.
      - Removed the node system FFI in python.
      - Removed the node C API, instead use PackedFunc for list and get attrs.
      - Change relay::Op::set_attr_type_key(attr_key_name) to relay::Op::set_attr_type<AttrType>().
        - This change was necessary because of the new Object registration mechanism.
        - Subsequent changes to the op registrations
        - The change revealed a few previous problems that is now fixed.
      - Patched up a few missing node type registration.
        - Now we will raise an error if we register object that is not registered.
      - The original node.h and container.h are kept in the same location.
      - Calling convention: kObjectHandle now equals the old kNodeHandle, kNodeHandle is removed.
      - IRFunctor now dispatches on ObjectRef.
      - Update to the new type checking API: is_type, derived_from are replaced by IsInstance.
      - Removed .hash member function, instead use C++ convention hasher functors.
      
      * Address review comments
      Tianqi Chen committed
  3. 14 Jul, 2019 1 commit
  4. 11 Jul, 2019 1 commit
  5. 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
  6. 12 Mar, 2019 1 commit
  7. 01 Mar, 2019 1 commit
  8. 06 Feb, 2019 1 commit
  9. 15 Jan, 2019 1 commit
    • [Hybrid Script] Supporting scheduling hybrid script (#2416) · ac54577f
      * on the way to enable hybrid schedule
      
      * I think I am done with imperfect loop split?
      
      * copyright watermark
      
      * loop annotation
      
      * fix lint
      
      * fix lint 1
      
      * shit!
      
      * loop reorder supported
      
      * support bind to add some tests
      
      * fused tested
      
      * imperfect loop testcase
      
      * fix lint
      
      * add bind testcase
      
      * fix doc
      
      * fix online edit typo
      
      * resolve @mercymercy review
      
      * fix indent
      
      * i should convince myself it is not flaky test first
      
      * fix test hybrid
      
      * how many flaky test are you expecting; i ball ball u to let me pass
      
      * rebase halide...
      Jian Weng committed
  10. 01 Dec, 2018 1 commit
  11. 06 Oct, 2018 1 commit
  12. 04 Oct, 2018 1 commit
  13. 20 Sep, 2018 1 commit
  14. 23 Aug, 2018 1 commit
  15. 17 Jun, 2018 1 commit
  16. 28 Mar, 2018 1 commit
  17. 16 Mar, 2018 1 commit
  18. 06 Feb, 2018 1 commit
  19. 17 Dec, 2017 1 commit
  20. 05 Oct, 2017 1 commit
  21. 04 Oct, 2017 1 commit
  22. 07 Sep, 2017 1 commit
  23. 30 Aug, 2017 1 commit
  24. 06 Jul, 2017 1 commit
  25. 05 Jul, 2017 2 commits
  26. 03 Jul, 2017 1 commit
  27. 13 Jun, 2017 1 commit
  28. 11 Jun, 2017 1 commit
    • Support for Tuple Inputs of Reducer and ComputeOp (#175) · f467f66e
      * Support for batch ComputeOp
      
      * Support for batch ComputeOp
      
      * Fix CrossThreadReduction
      
      * Fix lint
      
      * Add UpdateArray, remove support for batch reduce
      
      * Tuple input support for reduce
      
      * rfactor works with multiple reducer; support multiple reducers with different types
      
      * Small fix
      
      * Small fix
      
      * Change return type of rfactor to Array<Expr>
      
      * Fix lint
      
      * Improve
      
      * Add tutorial
      
      * Improve tutorial
      
      * Improve tutorial
      ziheng committed
  29. 10 May, 2017 1 commit
    • [PASS] Use likely tag & enable LoopPartition by default (#132) · e9debc9b
      * [PASS] Use likely tag & enable LoopPartition by default
      
      * [PASS] Support thread_axis partition
      
      * Take IfThenElse branch method
      
      * [PASS] Insert branch at the innermost thread scope
      
      * [PASS] Select candidates before trying to partition & add test for select
      
      * [PASS] Clean code
      
      * Fix
      
      * Remove print & assert vectorize happens
      ziheng committed
  30. 08 May, 2017 1 commit
  31. 04 May, 2017 1 commit
  32. 26 Apr, 2017 1 commit
    • [LANG] CommReducer (#103) · 26d91985
      * [LANG] CommReducer
      
      * Reorganize c_api
      
      * Remove InitValue and Combine; refactor Functor
      
      * Make CommReducer an Expr
      
      * Make comm_reducer type independent
      
      * Make CommReducerNode a Node
      
      * Small fix
      
      * Refine
      
      * Refine front api; add integration testcases for min/max
      
      * Fix python
      
      * Refine
      
      * Fix lint and add example
      ziheng committed
  33. 11 Apr, 2017 1 commit
  34. 09 Apr, 2017 1 commit
  35. 01 Apr, 2017 1 commit
  36. 29 Mar, 2017 1 commit
  37. 12 Mar, 2017 1 commit
  38. 05 Mar, 2017 1 commit