Recently, I’m playing with LBM_3D code:
It takes 3.5 mins for compilation while the computational speed is really fast in the ti.gpu mode.
This is annoying to use the Taichi during the development stage of a project due to frequent changes of codes.
However, I noticed that the compilation speed of Taichi-element project is really fast although that the code looks much more complex than the LBM_3D
Any suggestions/tips to write a code with a faster compilation speed?
Taking LBM_3D as an example, how to reduce compilation time from 3.5 mins to a few seconds?
Platform info:
[Taichi] version 1.0.3, llvm 10.0.0, commit fae94a21, win, python 3.8.8
[Taichi] Starting on arch=cuda
CPU = I7-11700K
GPU = RTX 3080Ti
Thanks,
Bin