Efficient Batched Predecessor Search in Shared Memory on GPUs
Efficient Batched Predecessor Search in Shared Memory on GPUs
复制标题
GPU 共享内存中的高效批量前驱搜索
DOI:
10.1109/hipc.2015.40
复制
发表时间:
2015
期刊:
影响因子:
--
通讯作者:
Nodari Sitchinava
中科院分区:
文献类型:
--
作者:
Ben Karsin;H. Casanova;Nodari Sitchinava
Many-core Graphics Processing Units (GPUs) are being used for general-purpose computing. However, due to architectural features, for many problems it is challenging to design parallel algorithms that exploit the full compute power of GPUs. Among these features is the memory design. Although the issue of coalesced global memory access has been documented and studied extensively, another important architectural feature is the organization of shared memory into banks. The study of how bank conflicts impact algorithm performance has only recently begun to receive attention. In this work we study the predecessor search algorithm and the effects of bank conflicts on its execution time. Via complexity analysis we show that bank conflicts cause significant loss in parallelism for a naive algorithm. We then propose two improved algorithms: one that eliminates bank conflicts altogether but that uses a work inefficient linear search, and one that is work-optimal but that experiences a limited number of bank conflicts. We develop GPU implementations of these algorithms and present experimental results obtained on real-world hardware. These results validate our theoretical analysis of the naive algorithm and allow us to assess the performance of our algorithms in practice. Although both our improved algorithms outperform the naive algorithm, our main experimental finding is that our conflict-limited algorithm provides a larger performance gain.
影响因子:
8.7
作者:
Lin, Feng;Wang, Gang;Yao, Xin
通讯作者:
Yao, Xin