Advanced search
Start date
Betweenand

Integrating Speculative Execution to Loop and Task-based Parallelization

Grant number: 18/07446-8
Support Opportunities:Scholarships in Brazil - Post-Doctoral
Effective date (Start): August 01, 2018
Effective date (End): September 30, 2023
Field of knowledge:Physical Sciences and Mathematics - Computer Science - Computer Systems
Principal Investigator:Alexandro José Baldassin
Grantee:Juan Jesús Salamanca Guillén
Host Institution: Instituto de Geociências e Ciências Exatas (IGCE). Universidade Estadual Paulista (UNESP). Campus de Rio Claro. Rio Claro , SP, Brazil
Associated research grant:18/15519-5 - Performance optimizations for multicore architectures, AP.JP2
Associated scholarship(s):20/01665-0 - Integrating speculative execution to task parallelism, BE.EP.PD

Abstract

This proposal brings five contributions to address code parallelization. First, it proposes a tool to measure the loop-carried probability of each component of a loop and to detect loop-carried patterns in the loop extending the OpenMP check clause. Initial experiments shows that loop-carried probability is an effective metric to decide when to use TLS or BDX to parallelize loops, thus, for certain loops, slow-downs can be transformed in 2× speed-ups by quickly selecting the appropriate algorithm. Second, it proposes an annotation approach to separate the (may) sequential components of a given loop based on the loop-carried probability of each component, thus exposing other components to parallelization. Third, it integrates two algorithms (TLS and BDX) into a simple OpenMP clause that enables the programmer to select the best algorithm for each component of a given loop (judicious approach). Fourth, it proposes new OpenMP clauses to implement speculative privatizations (spec private and spec reduction) which are essential to achieve performance in the TLS algorithm. Finally, this proposal also describes a novel speculation technique for the parallel execution of tasks. This technique, called Speculative Task Execution (STE), speculatively executes tasks which have control dependences with previous tasks. However, STE can also be used to speculate data dependences between tasks of different iterations in a loop possibly generated by a taskloop construct. It requires hardware support that can be provided in a similar fashion as that available in Hardware Transactional Memory (HTM) systems. We propose the implementation of a prototype to STE and the design of new speculative constructs and clauses to integrate STE into OpenMP task-based parallelization as: (a) the spec on construct; (b) the tls clause for taskloop construct, and (c) the spec in dependence-type for depend clause.

News published in Agência FAPESP Newsletter about the scholarship:
More itemsLess items
Articles published in other media outlets ( ):
More itemsLess items
VEICULO: TITULO (DATA)
VEICULO: TITULO (DATA)

Scientific publications (4)
(References retrieved automatically from Web of Science and SciELO through information on FAPESP grants and their corresponding numbers as mentioned in the publications by the authors)
SALAMANCA, JUAN; BALDASSIN, ALEXANDRO; MCINTOSHSMITH, S; DESUPINSKI, BR; KLINKENBERG, J. Improving Speculative taskloop in Hardware Transactional Memory. OPENMP: ENABLING MASSIVE NODE-LEVEL PARALLELISM, IWOMP 2021, v. 12870, p. 15-pg., . (18/15519-5, 18/07446-8)
SALAMANCA, JUAN; BALDASSIN, ALEXANDRO; KLEMM, M; DESUPINSKI, BR; KLINKENBERG, J; NETH, B. Using Off-the-Shelf Hardware Transactional Memory to Implement Speculative While in OpenMP. OPENMP IN A MODERN WORLD: FROM MULTI-DEVICE SUPPORT TO META PROGRAMMING, v. 13527, p. 15-pg., . (18/07446-8, 18/15519-5, 20/01665-0)
SALAMANCA, JUAN; IEEE. Performance Comparison of Speculative Taskloop and OpenMP-for-Loop Thread-Level Speculation on Hardware Transactional Memory. 2022 21ST INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING (ISPDC 2022), v. N/A, p. 8-pg., . (18/07446-8, 18/15519-5, 20/01665-0)
SALAMANCA, JUAN; BALDASSIN, ALEXANDRO; FAN, X; DESUPINSKI, BR; SINNEN, O; GIACAMAN, N. A Proposal for Supporting Speculation in the OpenMP taskloop Construct. OPENMP: CONQUERING THE FULL HARDWARE SPECTRUM, IWOMP 2019, v. 11718, p. 16-pg., . (18/15519-5, 18/07446-8)

Please report errors in scientific publications list using this form.