Checking Equivalence of SPMD Programs Using Non- Interference
Checking Equivalence of SPMD Programs Using Non- Interference
复制标题
使用无干扰检查 SPMD 程序的等价性
DOI:
10.21236/ada538815
复制
发表时间:
2010
影响因子:
0.8
通讯作者:
Roberto Lublinerman
中科院分区:
文献类型:
--
作者:
S. Tripakis;C. Stergiou;Roberto Lublinerman
Abstract : We study one of the basic multicore and GPU programming models, namely, SPMD (Single-Program Multiple-Data) programs. We define a formal model of SPMD programs based on interleaving threads that manipulate global and local arrays, and synchronize via barriers. SPMD programs are written with the intention to be deterministic, although programming errors may result in this not being true. SPMD programs are also frequently modified toward optimal performance. These facts motivate us to develop methods to check determinism and equivalence. A key property in achieving this is noninterference formulated as validity of logical formulas automatically derived from the program, that imply determinism. Automatically derived post-conditions can be used to check equivalence of noninterfering programs. We report on a prototype that can prove non-interference of NVIDIA CUDA programs.