计算机科学 > 分布式、并行与集群计算
[提交于 2021年5月22日]
标题:Automatic task-based parallelization of C++ applications by source-to-source transformations
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Currently, multi/many-core CPUs are considered standard in most types of computers including, mobile phones, PCs or supercomputers. However, the parallelization of applications as well as refactoring/design of applications for efficient hardware usage remains restricted to experts who have advanced technical knowledge and who can invest time tuning their software. In this context, the compilation community has proposed different methods for automatic parallelization, but their focus is traditionally on loops and nested loops with the support of polyhedral techniques. In this study, we propose a new approach to transform sequential C++ source code into a task-based parallel one by inserting annotations. We explain the different mechanisms we used to create tasks at each function/method call, and how we can limit the number of tasks. Our method can be implemented on top of the OpenMP 4.0 standard. It is compiler-independent and can rely on external well-optimized OpenMP libraries. Finally, we provide preliminary performance results that illustrate the potential of our method.
提交历史
来自:Bérenger Bramas[v1] 2021年5月22日 星期六 13:27:09 UTC