Title :
Automated Precision Analysis: A Polynomial Algebraic Approach
Author :
Boland, David ; Constantinides, George A.
Author_Institution :
Electr. & Electron. Eng. Dept., Imperial Coll. London, London, UK
Abstract :
When migrating an algorithm onto hardware, the potential saving that can be obtained by tuning the precision used in the algorithm to meet a range or error specification is often overlooked; the major reason is that it is hard to choose a number system which can guarantee any such specification can be met. Instead, the problem is mitigated by opting to use IEEE standard single or double precision so as to be `no worse´ than a software implementation. However, the flexibility in the number representation is one of the key factors that can only be exploited on FPGAs, unlike GPUs and general purpose processors, and hence ignoring this potential significantly limits the performance achievable on an FPGA. To this end, this paper describes a tool which analyses algorithms with given input ranges under a finite precision to provide information that could be used to tune the hardware to the algorithm specifications. We demonstrate the proposed procedure on an iteration of the conjugate gradient algorithm, achieving a reduction in slices of over 40% when meeting the same error specification found by traditional methods. We also show it achieves comparable bounds to recent literature in a small fraction of the execution time, with greater scalability.
Keywords :
conjugate gradient methods; field programmable gate arrays; floating point arithmetic; polynomials; FPGA; IEEE standard; algorithm specification; automated precision analysis; conjugate gradient algorithm; error specification; finite precision; hardware tuning; polynomial algebraic approach; Algorithm design and analysis; Digital signal processing; Educational institutions; Field programmable gate arrays; Hardware; Numerical stability; Polynomials; Signal processing algorithms; Software performance; Software safety;
Conference_Titel :
Field-Programmable Custom Computing Machines (FCCM), 2010 18th IEEE Annual International Symposium on
Conference_Location :
Charlotte, NC
Print_ISBN :
978-0-7695-4056-6
Electronic_ISBN :
978-1-4244-7143-0
DOI :
10.1109/FCCM.2010.32