* when there is no intrin func, using body for initialization. For issue 714.
* Refine code per review comments, and add a test case.
* Fix lint issues.
* Re-organize the tensorize test cases, and add a new case for none-reset
mode.
* Fix a typo.
* Delete the unit case because merged it into test_schedule_tensorize.py already.
* always use new tensor in its stage when rewrite for cache read
* revert previous changes to sync up with master
* support using the ptr with an original offset
* update test case and fix CI error
* [SCHEDULE]enable partition const loop with build flag (#719)
* enable partition loop with build flag
* add a testcase, and modify LoopPartition related cases
* * add document for split_const_loop
* [IRbuild]Support automatically Name Loop Variable in IRBuilder (#719)
* add idx_num in class
* using typical index [i, j, k] first, then i_suffix
* keep inputs names
* fix lint
* improve comment of name
* fix lint
* [SCHEDULE]enable partition const loop with build flag (#719)
* enable partition loop with build flag
* add a testcase, and modify LoopPartition related cases
* * add document for split_const_loop
* added math function support
* bug fix extern func call in llvm based codegen
lint fix
fix build
bug fix extern func call in llvm based codegen
* moved rocm bitcodes detection to python
use `object.__eq__`(default object identity comparison) as default
implementation of same_as. This should be OK since `EqualOp` and
`NotEqualOp` are pure Python object, `object.__eq__` is sufficient.
* 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