计算机科学 > 分布式、并行与集群计算
[提交于 2016年11月19日]
标题:A Case for Malleable Thread-Level Linear Algebra Libraries: The LU Factorization with Partial Pivoting
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We propose two novel techniques for overcoming load-imbalance encountered when implementing so-called look-ahead mechanisms in relevant dense matrix factorizations for the solution of linear systems. Both techniques target the scenario where two thread teams are created/activated during the factorization, with each team in charge of performing an independent task/branch of execution. The first technique promotes worker sharing (WS) between the two tasks, allowing the threads of the task that completes first to be reallocated for use by the costlier task. The second technique allows a fast task to alert the slower task of completion, enforcing the early termination (ET) of the second task, and a smooth transition of the factorization procedure into the next iteration. The two mechanisms are instantiated via a new malleable thread-level implementation of the Basic Linear Algebra Subprograms (BLAS), and their benefits are illustrated via an implementation of the LU factorization with partial pivoting enhanced with look-ahead. Concretely, our experimental results on a six core Intel-Xeon processor show the benefits of combining WS+ET, reporting competitive performance in comparison with a task-parallel runtime-based solution.
提交历史
来自:Rafael Rodriguez-Sanchez[v1] 2016年11月19日 星期六 13:55:29 UTC