Incorporation of OpenMP memory consistency into conventional dataflow analysis

  • Authors:
  • Ayon Basumallik;Rudolf Eigenmann

  • Affiliations:
  • School of Electrical and Computer Engineering, Purdue University, West Lafayette, IN;School of Electrical and Computer Engineering, Purdue University, West Lafayette, IN

  • Venue:
  • IWOMP'08 Proceedings of the 4th international conference on OpenMP in a new era of parallelism
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Current OpenMP compilers are often limited in their analysisand optimization of OpenMP programs by the challenge of incorporatingOpenMP memory consistency semantics into conventional dataflow algorithms. An important reason for this is that data flow analysiswithin current compilers traverse the program's control-flow graph(CFG) and the CFG does not accurately model the memory consistencyspecifications of OpenMP. In this paper, we present techniquesto incorporate memory consistency semantics into conventional dataflowanalysis by transforming the program's CFG into an OpenMP Producer-Consumer Flow Graph (PCFG), where a path exists from writes to readsof shared data if and only if a dependence is implied by the OpenMPmemory consistency model. We present algorithms for these transformations,prove the correctness of these algorithms and discuss a case wherethis transformation is used.