论文部分内容阅读
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.
The Open MP task directive makes it possible to efficiently parallelize irregular applications, with task granularity as one of the most critical issues. A model is involved 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 task granularity. The first stage is task creation in breadth-first manner until getting to a threshold, which has 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 that our approach offers more effective performance in para llel execution of irregular benchmarks.