arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1209.3314cs.DCcs.DS
收藏

基于混合CPU-GPU机的高效不规则波前传播算法

Efficient Irregular Wavefront Propagation Algorithms on Hybrid CPU-GPU Machines

George Teodoro, Tony Pan, Tahsin Kurc, Jun Kong, Lee Cooper, Joel Saltz

摘要:

在本文中,我们解决的问题,高效执行的计算模式,在这里被称为不规则波前传播模式(IWPP),在混合动力系统与多个CPU和GPU。IWPP在若干图像处理操作中是通用的。在IWPP中,如果满足传播条件,则波前中的数据元素将波传播到网格上的其相邻元素。接收传播波的元件成为波前的一部分。这种模式导致不规则的数据访问和计算。我们开发和评估的策略,使用多级队列结构的波前的有效计算和传播。这种队列结构提高了GPU中快速存储器的利用率,并减少了同步开销。我们还开发了一个基于瓦片的并行化策略,以支持在多个CPU和GPU上执行。我们评估我们的方法在一个国家的最先进的GPU加速机器(配备3个GPU和2个多核CPU)使用IWPP实现两个广泛使用的图像处理操作:形态重建和欧氏距离变换。我们的研究结果表明,GPU的性能显着改善。多个CPU和GPU的协同使用相对于单核CPU执行分别实现了50倍和85倍的加速比,用于形态重建和欧几里得距离变换。

英文摘要:

In this paper, we address the problem of efficient execution of a computation pattern, referred to here as the irregular wavefront propagation pattern (IWPP), on hybrid systems with multiple CPUs and GPUs. The IWPP is common in several image processing operations. In the IWPP, data elements in the wavefront propagate waves to their neighboring elements on a grid if a propagation condition is satisfied. Elements receiving the propagated waves become part of the wavefront. This pattern results in irregular data accesses and computations. We develop and evaluate strategies for efficient computation and propagation of wavefronts using a multi-level queue structure. This queue structure improves the utilization of fast memories in a GPU and reduces synchronization overheads. We also develop a tile-based parallelization strategy to support execution on multiple CPUs and GPUs. We evaluate our approaches on a state-of-the-art GPU accelerated machine (equipped with 3 GPUs and 2 multicore CPUs) using the IWPP implementations of two widely used image processing operations: morphological reconstruction and euclidean distance transform. Our results show significant performance improvements on GPUs. The use of multiple CPUs and GPUs cooperatively attains speedups of 50x and 85x with respect to single core CPU executions for morphological reconstruction and euclidean distance transform, respectively.

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

↑