Closed chunleili closed 1 year ago
This is because the simulation of this demo uses MPM, and the range of the grid inside is [0.0, 1.0]^3. If the initial model size is not within this range, the particles will be outside the range of the grid during particle-to-grid, resulting in illegal memory access.
Hi, When I run the mpm_lag case, I come across the CUDA_ERROR_ILLEGAL_ADDRESS.
The only modification is in the run.py, where I drop the initial transform of the model.
But if I recover the transform, everything is OK.
Here is my source file which can reproduce the BUG:
meshtaichi.zip
Initially(before doing the MPM computation), the program is OK. And I can see the imported mesh. But it crashes after I press SPACE(run simulation).
My totoal GPU memory is 6GB, and I allocate 4GB initially.
taichi Version:1.4.1 platform: win-10
error log