-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
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
Document refine_coordinate #597
Comments
Actually, I think I figured out what has confused me. I hope my example could help explain the process: x = ti.var(ti.i32)
ti.root.dense(ti.i, 4).bitmasked().dense(ti.i, 8).place(x)
@ti.kernel
def foo():
for i in x:
x[i] = 42
foo() Here's the relevant fields for each SNode of its index
For a concrete example where the input linear index taichi/taichi/struct/struct_llvm.cpp Lines 110 to 122 in 6577ad3
Then during
What I went wrong before was that, in each |
I think your understanding now is mostly correct, excapt for a few numbers in the table, updated below:
|
btw, i believe they should all be |
Oh sorry. I didn't realize what |
My bad, I meant to use The taichi/taichi/struct/struct_llvm.cpp Line 107 in 6577ad3
|
Warning: The issue has been out-of-update for 50 days, marking |
Per the request in #593
The text was updated successfully, but these errors were encountered: