Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[perf] Fix Taichi CPU backend compile parameter to pair performance w…
…ith Numba. (#7731) Issue: #7442 ### Brief Summary In this issue, Numba is a magnitude faster than Taichi due to the absence of automatic vectorization. The root cause is the incorrect passage of the `fast_flag`. To solve this problem, `fast_flag` is now added to the initialization of cpu codegen. Numba and Taichi now reveal comparable performance. Here's perf comparison: numba: 13052.542478MFlops taichi(master): 6544.274409MFlops taichi(this pr): 12778.240179MFlops --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information