一种在GPU上加速桶消除的高效方法

An Efficient Approach for Accelerating Bucket Elimination on GPUs

IEEE Transactions on Cybernetics · 2016
被引 12
ABS 3

中文导读

提出一种在GPU上并行化桶消除算法的新方法,通过优化表格布局提高速度和可扩展性,能处理不完整表格和超GPU内存的大表格,在公开数据集上比现有并行技术快最多466%。

Abstract

Bucket elimination (BE) is a framework that encompasses several algorithms, including belief propagation (BP) and variable elimination for constraint optimization problems (COPs). BE has significant computational requirements that can be addressed by using graphics processing units (GPUs) to parallelize its fundamental operations, i.e., composition and marginalization, which operate on functions represented by large tables. We propose a novel approach to parallelize these operations with GPUs, which optimizes the table layout so to achieve better performance in terms of increased speedup and scalability. Our approach allows us to process incomplete tables (i.e., tables with some missing variables assignments), which often occur in several practical applications (such as the ones we consider in our dataset). Finally, we can process tables that are larger than the GPU memory. Our approach outperforms the state-of-the-art technique to parallelize BP on GPUs, achieving better speedups (up to +466% with respect to such parallel technique). We test our method on a publicly available COP dataset, measuring a speedup up to with respect to the sequential version. The ability of our technique to process large tables is crucial in this scenario, in which most of the instances generate tables larger than the GPU memory, and hence they cannot be solved with previous GPU techniques related to BE.

约束优化问题并行计算GPU加速桶消除算法