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
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:
[Taichi] version 1.1.4, llvm 10.0.0, commit 50e5e3fd, linux, python 3.8.10
[Taichi] Starting on arch=cuda
[W 09/29/22 16:33:33.523 1504275] [llvm_offline_cache.cpp:load_meta_data@138] Lock /home/mingrui/.cache/taichi/ticache/llvm/metadata.lock failed
[E 09/29/22 16:33:34.432 1504275] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered while calling stream_synchronize (cuStreamSynchronize)
...
Issue: #6204
### Brief Summary
Autodiff failed on cases where the condition of a if depends on the for
loop index. This PR makes the if condition stored in adstack to handle
these cases.
Describe the bug
Autodiff failed on cases where the condition of a if depends on the for loop index (on cuda backend).
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:
Additional comments
Related question on forum:
https://forum.taichi.graphics/t/topic/3138
The text was updated successfully, but these errors were encountered: