This is a bug fix release for v0.8.10.
If you have seen excessive warnings like below on windows, please upgrade to this release.
- Bug fixes
- [bug] Fix warnings on external functions on windows (#4079) (by Lin Jiang)
a.py:11: UserWarning: Calling non-taichi function "ti.random". Scope inside the function is not processed by the Taichi AST transformer. The function may not work as expected. Proceed with caution! Maybe you can consider turning it into a @ti.func?
a[i] = ti.pow(ti.random(), 2)
a.py:11: UserWarning: Calling non-taichi function "ti.pow". Scope inside the function is not processed by the Taichi AST transformer. The function may not work as expected. Proceed with caution! Maybe you can consider turning it into a @ti.func?
a[i] = ti.pow(ti.random(), 2)
Full changelog: