ti.solve
with singular A silently break control flow on GPU with debug=False
#6615
Labels
potential bug
Something that looks like a bug but not yet confirmed
The output is
print(i)
is executed only if A is not singular.This is far out of my expectation, and completely different from CPU.
According to the document:
taichi should ignore assertion and produce non-sense result(e.g. NaN), instead of breaking control flow.
With
debug=True
, I can get nice error message.But all 16
print(i)
are executed on CPU, while only 1print(i)
(i=0) is executed on GPU.The text was updated successfully, but these errors were encountered: