|
This article is cited in 1 scientific paper (total in 1 paper)
Theory of computing
Autotuning parallel programs by model checking
N. O. Garaninaab, S. P. Gorlatchc a A.P. Ershov Institute of Informatics Systems (IIS), Siberian Branch of the Russian Academy of Sciences, 6 Acad. Lavrentjev pr.,
Novosibirsk 630090, Russia
b Institute of Automation and Electrometry SB RAS, 1, Academician Koptyug ave., Novosibirsk 630090, Russia
c University of Munster, 62 Einsteinstr, Muenster 48149, Germany
Abstract:
The paper presents a new approach to autotuning data-parallel programs. Autotuning is a search for optimal program settings which maximize its performance. The novelty of the approach lies in the use of the model checking method to find the optimal tuning parameters by the method of counterexamples. In our work, we abstract from specific programs and specific processors by defining their representative abstract patterns. Our method of counterexamples implements the following four steps. At the first step, an execution model of an abstract program on an abstract processor is described in the language of a model checking tool. At the second step, in the language of the model checking tool, we formulate the optimality property that depends on the constructed model. At the third step, we find the optimal values of the tuning parameters by using a counterexample constructed during the verification of the optimality property. In the fourth step, we extract the information about the tuning parameters from the counter-example for the optimal parameters. We apply this approach to autotuning parallel programs written in OpenCL, a popular modern language that extends the C language for programming both standard multi-core processors (CPUs) and massively parallel graphics processing units (GPUs). As a verification tool, we use the SPIN verifier and its model representation language Promela, whose formal semantics is good for modelling the execution of parallel programs on processors with different architectures.
Keywords:
optimization problem, auto-tuning of parallel programs, parallel programs, GPU programming, model checking, counterexamples, OpenCL, SPIN, Promela.
Received: 15.11.2021
Citation:
N. O. Garanina, S. P. Gorlatch, “Autotuning parallel programs by model checking”, Model. Anal. Inform. Sist., 28:4 (2021), 338–355
Linking options:
https://www.mathnet.ru/eng/mais756 https://www.mathnet.ru/eng/mais/v28/i4/p338
|
Statistics & downloads: |
Abstract page: | 77 | Full-text PDF : | 40 | References: | 17 |
|