Abstract

In automatic performance tuning (AT), a primary aim is to optimize performance parameters that are suitable for certain computational environments in ordinary mathematical libraries. For AT, an important issue is to reduce the estimation time required for optimizing performance parameters. To reduce the estimation time, we previously proposed the Incremental Performance Parameter Estimation method (IPPE method). This method estimates optimal performance parameters by inserting suitable sampling points that are based on computational results for a fitting function. As the fitting function, we introduced d-Spline, which is highly adaptable and requires little estimation time. In this paper, we report the implementation of the IPPE method with ppOpen-AT, which is a scripting language (set of directives) with features that reduce the workload of the developers of mathematical libraries that have AT features. To confirm the effectiveness of the IPPE method for the runtime phase AT, we applied the method to sparse matrix–vector multiplication (SpMV), in which the block size of the sparse matrix structure blocked compressed row storage (BCRS) was used for the performance parameter. The results from the experiment show that the cost was negligibly small for AT using the IPPE method in the runtime phase. Moreover, using the obtained optimal value, the execution time for the mathematical library SpMV was reduced by 44% on comparing the compressed row storage and BCRS (block size 8).

Highlights

  • One of the main aims of automatic performance tuning (AT) is to optimize performance parameters that are suitable for certain computational environments in ordinary mathematical libraries [2,3,6,7,8,11,12]

  • In a conventional estimation of performance parameters, the following procedure is applied to obtain the optimal value in a mathematical library: Step 1

  • Search for a minimum value of the fitting function that corresponds to the optimal value of the performance parameter

Read more

Summary

Introduction

One of the main aims of automatic performance tuning (AT) is to optimize performance parameters that are suitable for certain computational environments in ordinary mathematical libraries [2,3,6,7,8,11,12]. In a conventional estimation of performance parameters, the following procedure is applied to obtain the optimal value in a mathematical library: Step 1. Search for a minimum value of the fitting function that corresponds to the optimal value of the performance parameter This approach to conventional estimation of performance parameters has been used in AT. Tanaka et al / Implementation of d-Spline-based incremental performance parameter estimation method with ppOpen-AT any sampling point. We have proposed the Incremental Performance Parameter Estimation method (IPPE method) In this method, optimal performance parameters are estimated by inserting suitable sampling points that refer to the computational results for a fitting function, d-Spline, which is highly adaptable and requires little estimation time [9,10].

Fitting function d-Spline
Analysis of d-Spline using the Givens method
Procedure for incremental performance parameter estimation method
Example of ppOpen-AT
Major functions of ppOpen-AT
Implementation of IPPE method with ppOpen-AT
Application to sparse matrix–vector multiplication
Related work
Findings
Conclusions
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.