You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
According to the documentation, only the for loop at the outermost scope is parallelized, and the outermost for loop not at the outermost scope is not parallelized, and parallelized for loops cannot be broken. However, according to my test, error raises when breaking the outermost for loop that is not at the outermost scope.
Log/Screenshots
Please post the full log of the program (instead of just a few lines around the error message, unless the log is > 1000 lines). This will help us diagnose what's happening. For example:
Traceback (most recent call last):
File "test.py", line 10, in <module>
foo(1)
File "/Users/lin/taichi/python/taichi/lang/kernel_impl.py", line 736, in wrapped
return primal(*args, **kwargs)
File "/Users/lin/taichi/python/taichi/lang/kernel_impl.py", line 667, in __call__
return self.compiled_functions[key](*args)
File "/Users/lin/taichi/python/taichi/lang/kernel_impl.py", line 619, in func__
t_kernel(launch_ctx)
RuntimeError: [ir.h:as@225] Assertion failure: is<T>()
The text was updated successfully, but these errors were encountered:
Describe the bug
According to the documentation, only the for loop at the outermost scope is parallelized, and the outermost for loop not at the outermost scope is not parallelized, and parallelized for loops cannot be broken. However, according to my test, error raises when breaking the outermost for loop that is not at the outermost scope.
To Reproduce
Log/Screenshots
Please post the full log of the program (instead of just a few lines around the error message, unless the log is > 1000 lines). This will help us diagnose what's happening. For example:
The text was updated successfully, but these errors were encountered: