利用跨平台加速框架實現快速初期預測性擺置器
Fast Early-phase Predictive Placer Using Cross-platform Acceleration Framework
摘要
隨著超大型積體電路規模逐漸變大,擺放的時間也隨之攀升。除此之外,整個流程中需要重新透過擺放這個步驟來找到元件的最佳擺放位置。意即越來越難找到設計收斂。此外,現今的巨集是透過人工決定位置,因此快速的擺放可以提供初期性的效能評估。
在此篇論文,我們提出一個跨平台的加速框架,透過深度學習工具Pytorch 的輔助能夠達到協調CPU 與GPU。此外,我們採用二次最佳化的可解析擺放演算法SimPL 來套用到此篇的框架。我們利用GPU 的稀疏庫加速共軛梯度法並且搭配CPU 的平行化技巧加速其餘的部分。然後透過我們的跨平台框架結合GPU 與CPU 來實現此篇的快速初期預測性擺置器。
結論來說,透過我們跨平台加速的架構可以加速原先為瓶頸的共軛梯度演算法達到
約4.34 倍的效果,而整體的加速效果則是可以得到大約2.64 倍的加速。
在此篇論文,我們提出一個跨平台的加速框架,透過深度學習工具Pytorch 的輔助能夠達到協調CPU 與GPU。此外,我們採用二次最佳化的可解析擺放演算法SimPL 來套用到此篇的框架。我們利用GPU 的稀疏庫加速共軛梯度法並且搭配CPU 的平行化技巧加速其餘的部分。然後透過我們的跨平台框架結合GPU 與CPU 來實現此篇的快速初期預測性擺置器。
結論來說,透過我們跨平台加速的架構可以加速原先為瓶頸的共軛梯度演算法達到
約4.34 倍的效果,而整體的加速效果則是可以得到大約2.64 倍的加速。
As the size of very-large-scale integrated (VLSI) circuits increases, the needed time of placement rises imultaneously. Moreover, it need to run the placement phase repeatedly to find the better location of cell. In other words, it’s more difficult to find the design closure. Besides, the location of macros is determined by manual. Therefore, the fast placement can give a earlyphase estimation of performance.
In this thesis, we developed a cross-platform acceleration framework which can cooperate between CPU and GPU with the assistance of the deep learning toolkit Pytorch. In addition, we implement the SimPL which is quadratic optimization analytical placement on this framework.
We leverage the SPARSE library to accelerate the conjugate gradient method in GPU and introduce CPU parallel technique to accelerate other parts. Then, we integrate these two parts into our cross-platform framework to implement this fast early-phase predictive placer.
In conclusion, we get about 4.34 speedup on conjugate gradient part which is the bottleneck of SimPL and 2.64x speedup than the original flow of SimPL with our cross-platform acceleration framework.
In this thesis, we developed a cross-platform acceleration framework which can cooperate between CPU and GPU with the assistance of the deep learning toolkit Pytorch. In addition, we implement the SimPL which is quadratic optimization analytical placement on this framework.
We leverage the SPARSE library to accelerate the conjugate gradient method in GPU and introduce CPU parallel technique to accelerate other parts. Then, we integrate these two parts into our cross-platform framework to implement this fast early-phase predictive placer.
In conclusion, we get about 4.34 speedup on conjugate gradient part which is the bottleneck of SimPL and 2.64x speedup than the original flow of SimPL with our cross-platform acceleration framework.