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
Setting n to any number larger than 16, print value of hit_time, or replacing for i in x with for i in range(n) will get the right answer.
Especially, replacing for i in x with for i in range(n) will only change the block_dim in the final Taichi IR, and thus I think the bug might be at cuda codegen phase.
The text was updated successfully, but these errors were encountered:
Describe the bug
Atmoic min get wrong result on cuda backend when block_dim is 16.
To Reproduce
Run the code below. The expected answer is 1, but I got 0 on my computer.
Setting n to any number larger than 16, print value of
hit_time
, or replacingfor i in x
withfor i in range(n)
will get the right answer.Especially, replacing
for i in x
withfor i in range(n)
will only change the block_dim in the final Taichi IR, and thus I think the bug might be at cuda codegen phase.The text was updated successfully, but these errors were encountered: