arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.03543cs.DCcs.PL
收藏

在面向异构系统的基于组件的并行编程中实现实现变体的动态选择

Enabling Dynamic Selection of Implementation Variants in Component-Based Parallel Programming for Heterogeneous Systems

Suejb Memeti

AI总结:

针对异构系统编程需掌握多框架的难题,提出基于组件的COMPAR框架,通过编译器指令扩展与StarPU运行时支持,实现运行时组件实现变体的智能选择,在保障性能的同时简化编程、提升代码复用性。

摘要:

由CPU和GPU组成的异构系统能够满足计算密集型与数据密集型应用的需求,但这类系统的编程颇具挑战,需要掌握多种并行编程框架的相关知识。本文提出COMPAR——一种基于组件的并行编程框架,可在运行时暴露并选择组件的多个实现变体。该框架利用基于编译器指令的语言扩展对源代码进行标注,并为StarPU运行时系统生成必要的粘合代码。COMPAR为各实现变体提供统一视图,支持基于运行时上下文进行智能选择。我们通过基准测试应用验证了COMPAR的有效性,该方法在实现最优性能的同时,简化了异构并行编程并促进了代码复用。

英文摘要:

Heterogeneous systems, consisting of CPUs and GPUs, offer the capability to address the demands of compute- and data-intensive applications. However, programming such systems is challenging, requiring knowledge of various parallel programming frameworks. This paper introduces COMPAR, a component-based parallel programming framework that enables the exposure and selection of multiple implementation variants of components at runtime. The framework leverages compiler directive-based language extensions to annotate the source code and generate the necessary glue code for the StarPU runtime system. COMPAR provides a unified view of implementation variants and allows for intelligent selection based on runtime context. Our evaluation demonstrates the effectiveness of COMPAR through benchmark applications. The proposed approach simplifies heterogeneous parallel programming and promotes code reuse while achieving optimal performance.

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

↑