跳到主要导航 跳到搜索 跳到主要内容

HRPF: A parallel programming framework for recursive algorithms on heterogeneous CPU–GPU systems

  • Yizhuo Wang*
  • , Bowen Liu
  • , Senhao Shao
  • , Jianhua Gao
  • , Weixing Ji
  • , Hongbo Xing
  • *此作品的通讯作者
  • Beijing Institute of Technology
  • Beijing Normal University

科研成果: 期刊稿件 › 文章 › 同行评审

摘要

Recursion, as a common programming paradigm, is widely applied in numerous applications. By treating recursive problems as tasks, the recursion process generates many independent subtasks, which reveals the potential for parallelism. To harness this parallelism on heterogeneous CPU–GPU systems, this paper introduces HRPF (Heterogeneous Recursive Parallel Programming Framework). HRPF provides a set of programming interfaces to define recursive algorithms, shielding users from the complexities of task allocation, scheduling, and data movement. This facilitates the efficient and straightforward implementation of parallel recursive programs on CPU–GPU systems. HRPF dispatches tasks between CPU and GPU workers by combining depth-first search (DFS) and breadth-first search (BFS) strategies. It adopts a hybrid work-stealing scheduling algorithm incorporating both work-first and help-first policies to achieve dynamic load balancing. The HRPF runtime system ensures data consistency between the host and the device and overlaps computation with data transfer. Additionally, HRPF provides a set of parallel loop programming interfaces. To evaluate HRPF, we implement several benchmarks including merge sort, quicksort, Strassen–Winograd matrix multiplication, and parallel loops in four commonly used algorithms. Experimental results on a CPU–GPU platform demonstrate that HRPF achieves superior performance across a range of benchmarks compared to OpenMP, StarPU and Taskflow.

源语言英语
期刊论文编号103187
期刊Parallel Computing
卷127
DOI
出版状态已出版 - 3月 2026

学术指纹

探究 'HRPF: A parallel programming framework for recursive algorithms on heterogeneous CPU–GPU systems' 的科研主题。它们共同构成独一无二的学术指纹。

引用此