Abstract
The sparse linear solver has become the bottleneck in a SPICE-like circuit simulator. A general sparse linear solver comprises pre-analysis, numeric factorization, and right-hand solving. The matrix ordering method in pre-analysis determines fill-ins and matrix structure, which is critical for the performance of numeric factorization and right-hand solving. Current leading solvers use a sequential (e.g., KLU) or completely parallel (e.g., NICSLU) framework to order the matrix, which produces non-optimal options or consumes tremendous memory. Furthermore, the criterion for judging the optimal ordering method is also controversial. In this paper, we propose a new pre-analysis framework. It redefines the criterion of the optimal ordering method and utilizes a few-shot model for inference. By performing up to 2 ordering methods from the proposed pre-analysis, our work can implement an optimal ordering method and consume much less memory than a completely parallel framework. Experimental results on 70 circuit matrices show that compared to KLU, our work achieves an average time improvement of 27.09%. Compared to NICSLU, our work achieves an average time improvement of 14.39% and an average memory improvement of 61.52% in the sequential mode, and an average time improvement of 15.74% and an average memory improvement of 55.11% in the parallel (16 threads) mode.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.