This paper proposes a technique to specify and verify whether a loop can be parallelised. Our approach can be used as an additional step in a parallelising compiler to verify user annotations about loop dependences. Essentially, our technique requires each loop iteration to be specified with the locations it will read and write. From the loop iteration specifications, the loop (in)dependences can be derived. Moreover, the loop iteration specifications also reveal where synchronisation is needed in the parallelised program. The loop iteration specifications can be verified using permission-based separation logic.
|Title of host publication||Proceedings of the 7th Workshop on Programming Language Approaches to Concurrency and Communication-cEntric Software (PLACES 2014)|
|Place of Publication||New York|
|Number of pages||7|
|Publication status||Published - 12 Apr 2014|
- EC Grant Agreement nr.: FP7/2007-2013
- EC Grant Agreement nr.: FP7/287767