利用基于任务的并行性实现二维网格上的红黑高斯-赛德尔方法
Exploiting Task-Based Parallelism for the Red-Black Gauss-Seidel Method on 2D Grids
AI总结:
针对红黑高斯-赛德尔方法中传统并行策略的同步开销和负载不均问题,采用基于任务的编程模型实现细粒度并行,在二维泊松方程求解中达到与传统方法相当的性能,并增强对硬件异步性的鲁棒性。
摘要:
高斯-赛德尔是一种成熟的线性系统迭代求解方法,多色技术被广泛用于提高迭代求解技术中的并行性。然而,使用传统的分治并行化策略实现多色高斯-赛德尔可能因全局同步要求和负载不均而效率低下。基于任务的编程模型通过实现细粒度并行、消除全局屏障并允许不同颜色的更新在时间上部分重叠,可以缓解这些问题。在本工作中,我们使用两种基于任务的编程模型实现红黑高斯-赛德尔方法,并将其与经典的分治并行实现进行比较,以评估细粒度并行对执行效率的影响。红黑方案作为代表性示例,因为基于任务的方法自然扩展到由非结构化网格和更宽模板产生的更一般的多色方案。以二维泊松方程的求解作为基准,我们的结果表明,基于任务的实现可以达到与传统分治并行化相当的性能,同时提供对硬件级异步性的更强鲁棒性。
英文摘要:
Gauss-Seidel is a well-established iterative method for the solution of linear systems, and multicoloring has been widely used to increase parallelism in iterative solution techniques. Implementing multi-color Gauss-Seidel with conventional divide-and-conquer parallelization strategies, however, may be inefficient due to global synchronization requirements and load imbalances. Task-based programming models can mitigate these issues by enabling fine-grained parallelism, removing global barriers and allowing updates of different colors to partially overlap in time. In this work, we implement the red-black Gauss-Seidel method using two task-based programming models and compare them with a classical divide-and-conquer parallel implementation to evaluate the impact of fine-grained parallelism on execution efficiency. The red-black scheme serves as a representative example, as task-based approaches naturally extend to more general multi-color schemes arising from unstructured grids and wider stencils. Using the solve of the 2D Poisson equation as benchmark, our results show that task-based implementations can achieve performance comparable to conventional divide-and-conquer parallelization while providing greater resilience to hardware-level asynchronicity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。