计算机科学 > 符号计算
[提交于 2016年9月6日]
标题:Automatic Library Generation for Modular Polynomial Multiplication
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Polynomial multiplication is a key algorithm underlying computer algebra systems (CAS) and its efficient implementation is crucial for the performance of CAS. In this paper we design and implement algorithms for polynomial multiplication using approaches based the fast Fourier transform (FFT) and the truncated Fourier transform (TFT). We improve on the state-of-the-art in both theoretical and practical performance. The {\SPIRAL} library generation system is extended and used to automatically generate and tune the performance of a polynomial multiplication library that is optimized for memory hierarchy, vectorization and multi-threading, using new and existing algorithms. The performance tuning has been aided by the use of automation where many code choices are generated and intelligent search is utilized to find the "best" implementation on a given architecture. The performance of autotuned implementations is comparable to, and in some cases better than, the best hand-tuned code.
提交历史
来自:Lingchuan Meng[v1] 2016年9月6日 星期二 00:00:00 UTC