Support for thread-level speculation into OpenMP

  • Authors:
  • Sergio Aldea;Diego R. Llanos;Arturo González-Escribano

  • Affiliations:
  • Departamento de Informática, Universidad de Valladolid, Valladolid, Spain;Departamento de Informática, Universidad de Valladolid, Valladolid, Spain;Departamento de Informática, Universidad de Valladolid, Valladolid, Spain

  • Venue:
  • IWOMP'12 Proceedings of the 8th international conference on OpenMP in a Heterogeneous World
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Software-based, thread-level speculation (TLS) systems allow the parallel execution of loops that can not be analyzed at compile time. TLS systems optimistically assume that the loop is parallelizable, and augment the original code with functions that check the consistency of the parallel execution. If a dependence violation is detected, offending threads are restarted to consume correct values. Although many TLS implementations have been developed so far, robustness issues and changes required to existent compiler technology prevent them to reach the mainstream. In this paper we propose a different approach: To add TLS support to OpenMP. A new OpenMP speculative clause would allow to execute in parallel loops whose dependence analysis can not be done at compile time.