An Adaptive Task Creation Pruning Strategy for Optimizing Irregular Applications
The Open MP task directive makes it possible to efficiently parallelize irregular applications, with task granularity as one of the most critical issues. To implement Open MP specification on multi-core architecture,a model is presented specializing in the execution of irregular applications. The mo...
Gespeichert in:
Veröffentlicht in: | Chinese Journal of Electronics 2015-07, Vol.24 (3), p.535-541 |
---|---|
Hauptverfasser: | , , , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The Open MP task directive makes it possible to efficiently parallelize irregular applications, with task granularity as one of the most critical issues. To implement Open MP specification on multi-core architecture,a model is presented specializing in the execution of irregular applications. The model captures computation and communication within a node with host cores and accelerator cores. Based on this model, we propose an adaptive task creation pruning strategy including two stages to adjust dynamically task granularity. The first stage is task creation in breadth-first manner until getting to a threshold, which utilizes potential parallelism of multi-core processor. The second stage is starvation-triggered task regeneration once some worker thread becomes starved, which ensures work-stealing and thus achieves load balance. The evaluation is conducted with a series of typical irregular benchmarks, and the results indicate that our approach offers more effective performance in parallel execution of irregular benchmarks. |
---|---|
ISSN: | 1022-4653 2075-5597 |
DOI: | 10.1049/cje.2015.07.017 |