1. 19 Apr, 2020 2 commits
  2. 18 Apr, 2020 3 commits
  3. 17 Apr, 2020 6 commits
  4. 16 Apr, 2020 6 commits
  5. 15 Apr, 2020 13 commits
  6. 14 Apr, 2020 6 commits
  7. 13 Apr, 2020 4 commits
    • [BYOC] Enhance partitioning and external codegen (#5310) · 5958d60d
      * Remove duplicated output args
      
      * address comment
      
      * fix codegen c
      
      * improve comment
      
      * VisitExprDefault_
      
      * deduce type
      Zhi committed
    • [RUNTIME][IR] Allow non-nullable ObjectRef, introduce Optional<T>. (#5314) · fc75de9d
      * [RUNTIME] Allow non-nullable ObjectRef, introduce Optional<T>.
      
      We use ObjectRef and their sub-classes extensively throughout our codebase.
      Each of ObjectRef's sub-classes are nullable, which means they can hold nullptr
      as their values.
      
      While in some places we need nullptr as an alternative value. The implicit support
      for nullptr in all ObjectRef creates additional burdens for the developer
      to explicitly check defined in many places of the codebase.
      
      Moreover, it is unclear from the API's intentional point of view whether
      we want a nullable object or not-null version(many cases we want the later).
      
      Borrowing existing wisdoms from languages like Rust. We propose to
      introduce non-nullable ObjectRef, and Optional<T> container that
      represents a nullable variant.
      
      To keep backward compatiblity, we will start by allowing most ObjectRef to be nullable.
      However, we should start to use Optional<T> as the type in places where
      we know nullable is a requirement. Gradually, we will move most of the ObjectRef
      to be non-nullable and use Optional<T> in the nullable cases.
      
      Such explicitness in typing can help reduce the potential problems
      in our codebase overall.
      
      Changes in this PR:
      - Introduce _type_is_nullable attribute to ObjectRef
      - Introduce Optional<T>
      - Change String to be non-nullable.
      - Change the API of function->GetAttr to return Optional<T>
      
      * Address review comments
      
      * Upgrade all compiler flags to c++14
      
      * Update as per review comment
      Tianqi Chen committed
    • [Topi] Tensorcore support for Conv3D (#5284) · 3df8d560
      * one weird trick.
      
      * Added schedule knob for different workloads.
      
      * Initial conv3d tensorcore working.
      
      * Added conv3d tensorcore strategy.
      
      * Added layout conversion to tensorcore friendly format for conv2d and conv3d.
      
      * Add target name check.
      
      * Fixed bad names and depthwise check.
      
      * Removed duplicated attribute assignment.
      Josh Fromm committed