arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.07017cs.DCcs.MS
收藏

用Look-Ahead和OpenMP编程并行稠密矩阵分解

Programming Parallel Dense Matrix Factorizations with Look-Ahead and OpenMP

Sandra Catalán, Adrián Castelló, Francisco D. Igual, Rafael Rodríguez-Sánchez, Enrique S. Quintana-Ortí

摘要:

我们调查的密集矩阵分解(DMF)算法的并行化策略,使用OpenMP,从遗留(或传统)的解决方案,它只是简单地提取并发从多线程版本的BLAS。这种方法也不同于更复杂的运行时辅助实现,后者将操作分解为任务,并通过指令和运行时支持来识别依赖关系。相反,我们的策略达到高性能显式地嵌入到DMF代码的静态前瞻技术,以克服性能瓶颈的面板因式分解,并实现尾随更新通过缓存感知多线程实现的BLAS。虽然并行算法是用高级别的抽象来指定的,但实际的实现可以很容易地从它们中导出,从而为在任何具有类似OpenMP的运行时的多核平台上导出相当大一部分LAPACK功能的高性能实现铺平了道路。

英文摘要:

We investigate a parallelization strategy for dense matrix factorization (DMF) algorithms, using OpenMP, that departs from the legacy (or conventional) solution, which simply extracts concurrency from a multithreaded version of BLAS. This approach is also different from the more sophisticated runtime-assisted implementations, which decompose the operation into tasks and identify dependencies via directives and runtime support. Instead, our strategy attains high performance by explicitly embedding a static look-ahead technique into the DMF code, in order to overcome the performance bottleneck of the panel factorization, and realizing the trailing update via a cache-aware multi-threaded implementation of the BLAS. Although the parallel algorithms are specified with a highlevel of abstraction, the actual implementation can be easily derived from them, paving the road to deriving a high performance implementation of a considerable fraction of LAPACK functionality on any multicore platform with an OpenMP-like runtime.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑