TY - GEN
T1 - Synthesizing Efficient Low-Precision Kernels
AU - Izycheva, Anastasiia
AU - Darulova, Eva
AU - Seidl, Helmut
N1 - Publisher Copyright:
© 2019, Springer Nature Switzerland AG.
PY - 2019
Y1 - 2019
N2 - In this paper, we present a fully automated approach for synthesizing fast numerical kernels with guaranteed error bounds. The kernels we target contain elementary functions such as sine and logarithm, which are widely used in scientific computing, embedded as well as machine-learning programs. However, standard library implementations of these functions are often overly accurate and therefore unnecessarily expensive. Our approach trades superfluous accuracy against performance by approximating elementary function calls by polynomials and by implementing arithmetic operations in low-precision fixed-point arithmetic. Our algorithm soundly distributes and guarantees an overall error budget specified by the user. The evaluation on benchmarks from different domains shows significant performance improvements of 2.23 $$\times $$ on average compared to state-of-the-art implementations of such kernel functions.
AB - In this paper, we present a fully automated approach for synthesizing fast numerical kernels with guaranteed error bounds. The kernels we target contain elementary functions such as sine and logarithm, which are widely used in scientific computing, embedded as well as machine-learning programs. However, standard library implementations of these functions are often overly accurate and therefore unnecessarily expensive. Our approach trades superfluous accuracy against performance by approximating elementary function calls by polynomials and by implementing arithmetic operations in low-precision fixed-point arithmetic. Our algorithm soundly distributes and guarantees an overall error budget specified by the user. The evaluation on benchmarks from different domains shows significant performance improvements of 2.23 $$\times $$ on average compared to state-of-the-art implementations of such kernel functions.
KW - Approximation
KW - Elementary functions
KW - Finite precision
KW - Synthesis
UR - http://www.scopus.com/inward/record.url?scp=85076082463&partnerID=8YFLogxK
U2 - 10.1007/978-3-030-31784-3_17
DO - 10.1007/978-3-030-31784-3_17
M3 - Conference contribution
AN - SCOPUS:85076082463
SN - 9783030317836
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 294
EP - 313
BT - Automated Technology for Verification and Analysis- 17th International Symposium, AVTA 2019, Proceedings
A2 - Chen, Yu-Fang
A2 - Cheng, Chih-Hong
A2 - Esparza, Javier
PB - Springer
T2 - 17th International Symposium on Automated Technology for Verification and Analysis, ATVA 2019
Y2 - 28 October 2019 through 31 October 2019
ER -