Tool support for software lookup table optimization
نویسندگان
چکیده
A number of scientific applications are performance-limited by expressions that repeatedly call costly elementary functions. Lookup table (LUT) optimization accelerates the evaluation of such functions by reusing previously computed results. LUT methods can speed up applications that tolerate an approximation of function results, thereby achieving a high level of fuzzy reuse. One problem with LUT optimization is the difficulty of controlling the tradeoff between performance and accuracy. The current practice of manual LUT optimization adds programming effort by requiring extensive experimentation to make this tradeoff, and such hand tuning can obfuscate algorithms. In this paper we describe a methodology and tool implementation to improve the application of software LUT optimization. Our Mesa tool implements source-to-source transformations for C or C++ code to automate the tedious and error-prone aspects of LUT generation such as domain profiling, error analysis, and code generation. We evaluate Mesa with five scientific applications. Our results show a performance improvement of 3.0 × and 6.9 × for two molecular biology algorithms, 1.4 × for a molecular dynamics program, 2.1 × to 2.8 × for a neural network application, and 4.6 × for a hydrology calculation. We find that Mesa enables LUT optimization with more control over accuracy and less effort than manual approaches.
منابع مشابه
AutoMapper - An automated tool for optimal hardware resource allocation for networking applications on FPGA ( under review ) ∗
It has now become imperative for routers to support complicated lookup schemes, based on the specific function of the networking hardware. We have developed an automated tool, AutoMapper, which can map lookup schemes onto a particular target architecture optimally, thereby providing a superior alternative to the time-consuming and resourceinefficient technique of manual conversion. It is based ...
متن کاملIP Lookup Table Design using LC-trie with Memory Constraint
IP address lookup is to determine the next hop destination o f an incoming packet in the router. The address lookup is a major bottleneck in high performance router due to the increased routing table sizes, increased traffic, higher speed links, and the migration to 128 bits IPv6 addresses. IP lookup time is dependent on data structure of lookup table and search scheme. In this paper, we propos...
متن کاملParameter Optimization of RobustLow Bit Rate Video
Parameter Optimization of Robust Low Bit Rate Video Coders Sangyoun Lee and Vijay K. Madisetti Digital Signal Processing Laboratory School of Electrical and Computer Engineering Georgia Institute of Technology Atlanta, GA 30332-0250, U.S.A Abstract|Most standards provide a generalized syntax and semantics framework for video coders, leaving the selection and optimization of the right parameter ...
متن کاملAn optimization-based approach to LUT program transformations
Scientific programmers can speed up function evaluation by precomputing and storing function results in lookup table (LUTs), thereby replacing costly evaluation code with an inexpensive memory access. A code transform that replaces computation with LUT code can improve performance, however, accuracy is reduced because of error inherent in reconstructing values from LUT data. LUT transforms are ...
متن کاملOptimisation of Grolishing Freeform Surfaces with Rigid and Semi- rigid Tools
After the formal acceptance of our fabrication of E-ELT segments, we aim to further accelerate the mass production by introducing an intermediate grolishing procedure using industrial robots, reducing the total process time by this much faster and parallel link. In this paper, we have presented research outputs on tool design, tool path generation, study of mismatch between rigid, semi-rigid to...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Scientific programming
دوره 19 4 شماره
صفحات -
تاریخ انتشار 2011