Towards optimisation of openMP codes for synchronisation and data reuse

  • Authors:
  • Tien-hsiung Weng;Barbara Chapman

  • Affiliations:
  • Department of Computer Science and Information Management, Providence University, Taichung County, Taiwan.;Department of Computer Science, University of Houston, TX 77204-3010, USA

  • Venue:
  • International Journal of High Performance Computing and Networking
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we present the compiler transformation of OpenMP code to an ordered collection of tasks, and the compile time as well as runtime mapping of the resulting task graph to threads for data reuse. The ordering of tasks is relaxed where possible so that the code may be executed in a more loosely synchronous fashion. Our current implementation uses a runtime system that permits tasks to begin execution as soon as their predecessors have completed. A comparison of the performance of two example programs in their original OpenMP form and in the code form resulting from our translation is encouraging.