The Design and Implementation of a Verification Technique for GPU Kernels
The Design and Implementation of a Verification Technique for GPU Kernels
复制标题
GPU内核验证技术的设计与实现
DOI:
10.1145/2743017
复制
发表时间:
2015
影响因子:
1.3
通讯作者:
Betts A
中科院分区:
文献类型:
--
作者:
Betts A
We present a technique for the formal verification of GPU kernels, addressing two classes of correctness properties: data races and barrier divergence. Our approach is founded on a novel formal operational semantics for GPU kernels termedsynchronous, delayed visibility (SDV)semantics, which captures the execution of a GPU kernel by multiple groups of threads. The SDV semantics provides operational definitions for barrier divergence and for both inter- and intra-group data races. We build on the semantics to develop a method for reducing the task of verifying a massively parallel GPU kernel to that of verifying a sequential program. This completely avoids the need to reason about thread interleavings, and allows existing techniques for sequential program verification to be leveraged. We describe an efficient encoding of data race detection and propose a method for automatically inferring the loop invariants that are required for verification. We have implemented these techniques as a practical verification tool, GPUVerify, that can be applied directly to OpenCL and CUDA source code. We evaluate GPUVerify with respect to a set of 162 kernels drawn from public and commercial sources. Our evaluation demonstrates that GPUVerify is capable of efficient, automatic verification of a large number of real-world kernels.
登录
查看更多内容
DOI:
--
发表时间:
2010
期刊:
International Conference on Tools and Algorithms for Construction and Analysis of Systems
影响因子:
--
作者:
Alastair F. Donaldson;D. Kroening;P. Rümmer
通讯作者:
P. Rümmer
影响因子:
0.8
作者:
S. Tripakis;C. Stergiou;Roberto Lublinerman
通讯作者:
Roberto Lublinerman
DOI:
10.1016/j.scico.2014.03.013
发表时间:
2013
期刊:
Sci. Comput. Program.
影响因子:
--
作者:
S. Blom;M. Huisman;M. Mihelčić
通讯作者:
M. Mihelčić
DOI:
10.1007/978-3-642-02959-2_18
发表时间:
2009
期刊:
Cardiovascular revascularization medicine : including molecular interventions
影响因子:
--
作者:
Shuvendu K. Lahiri;S. Qadeer
通讯作者:
S. Qadeer
DOI:
--
发表时间:
2013
期刊:
NASA Formal Methods
影响因子:
--
作者:
Wei;G. Gopalakrishnan;Guodong Li;Zvonimir Rakamaric
通讯作者:
Zvonimir Rakamaric