We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for(let i = start; i < begin; i += stride)
Taichi.js currently only supports range-for loops:
for(let i of range(n)){ ... }
and while-loops:
while(cond){ ... }
A top-level range-for loop in a kernel will be parallelised. All while-loops will be serial.
We should also support traditional for loops of the form
for(let i = start; i < begin; i += stride){ ... }
And we should implement them by translating this into a while-loop.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Taichi.js currently only supports range-for loops:
and while-loops:
A top-level range-for loop in a kernel will be parallelised. All while-loops will be serial.
We should also support traditional for loops of the form
And we should implement them by translating this into a while-loop.
The text was updated successfully, but these errors were encountered: