Skip to content
Snippets Groups Projects
  1. Oct 16, 2017
  2. Oct 15, 2017
  3. Oct 14, 2017
  4. Oct 13, 2017
    • Wei Chen's avatar
      Add same_as to NodeBase (#550) · fde9b570
      Wei Chen authored
      * Add same_as to NodeBase
      
      1. Most class inherited from NodeBase(Schedule, Stage, etc) still have
      the convenience of using '==' for object identity. And this is the right
      behavior for non-Expr classes.
      2. subclasses of ExprOp now create EQ expression when '==' is used.
      
      `__nonzero__` and `__bool__` in EQ and NE is a comprise that in some cases
      object identity semantics is still useful, like in unit test. For instance:
      ````
      assert a == b
      ````
      
      "a == b" will create EQ expression, assert then calls `__nonzero__` of the
      result expression. `Expr.__nonzero__` throws exception since it prohibits
      evaluating IR expression.
      
      More complex case like:
      ````
      assert a in b # b is dict
      ````
      
      it will call `__eq__` on a and all keys of b, then `__bool__` on the result
      expression. This could not easily be done by same_as.
      
      * Retain __hash__ from NodeBase in Python3
      fde9b570
    • Aditya Atluri's avatar
      added support for rocm gpu autodetect (#549) · ed783689
      Aditya Atluri authored
      * added support for rocm gpu autodetect
      
      * changed type casting from old style to static_cast
      
      * fixed code to generate gfx specific code object
      
      * fixed namespaces
      ed783689
    • Hu Shiwen's avatar
      add msvc in cc (#531) · 87c929f5
      Hu Shiwen authored
      87c929f5
    • masahi's avatar
      Add rocm target to topi tests (#548) · 85c545c7
      masahi authored
      * add masahi to contributors
      
      * enable rocm target in topi tests
      85c545c7
    • Tianqi Chen's avatar
    • ziheng's avatar
      b20678b0
  5. Oct 12, 2017
  6. Oct 11, 2017
  7. Oct 10, 2017
  8. Oct 09, 2017
  9. Oct 08, 2017
  10. Oct 06, 2017
  11. Oct 05, 2017
  12. Oct 04, 2017
  13. Oct 03, 2017
  14. Oct 01, 2017
  15. Sep 30, 2017
  16. Sep 29, 2017
  17. Sep 28, 2017
Loading