Yi Xu
Yi Xu
Is this part of #2198?
Hi @Morcki. Functions which are called in `ti.kernel` should be decorated with `ti.func`: ```python class Test: @staticmethod @ti.func def test(v): print(v[0]) ```
Hi @Morcki. Could you show your speed comparison as well?
Yep. We need to throw an error in the forbidden case and refer users to the correct version. @AD1024 Could you help with this?
> Smart type casts for constant literals This is a do-able suggestion and should be better done once we move most AST logic to C++. > We might think enforcing...
> I would request having this as an compiler option. I would like to enforce then when adding new language frontends That sounds good to me :-)
> This is great! Just wondering if we'd make these matrix operations library functions (i.e ti.math.xx) or member functions to Matrix? Any preferences @strongoier? I prefer making them library functions.
Before writing a formal RFC, I would like to briefly summarize some previous discussions on this topic. I think there are still some issues to be solved, and I hope...
> not modifying computation code might not be as hard requirement as we thought I agree with that. The main point here is, when we introduce a new language construct,...
After an offline discussion with @ailzhang, we reach the following consensus: 1. Ndarray is designed mainly for deployment purposes, with the two unique advantages - avoiding memory copy and recompilation....