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

评估SYCL作为异构系统的统一编程模型

Evaluating SYCL as a Unified Programming Model for Heterogeneous Systems

Parallel Research Lab(并行研究实验室)

Ami Marowka

AI总结:

本文评估SYCL在异构系统中的统一编程能力,分析其跨平台开发的代码可移植性、开发效率和运行时效率,对比USM与buffer-accessor、NDRange与分层内核模型,揭示当前SYCL实现的关键限制。

摘要:

高性能计算(HPC)应用日益在异构环境中执行,给编程和软件可移植性带来新挑战。SYCL作为一种旨在简化异构编程并提高开发人员可访问性的模型已崭露头角。SYCL被设计为单一源代码、跨平台并行编程框架,承诺在各种架构上实现可移植性、开发效率和性能。然而,这些目标尚未一致定义或实现,导致开发人员期望各异。本文从应用开发人员角度评估SYCL,分析其是否满足跨平台开发的必要标准,包括代码可移植性、开发效率和运行时效率。我们的评估基于基准测试和示例,并聚焦SYCL的内存管理和并行抽象。我们提供了统一共享内存(USM)与缓冲器访问器方法、NDRange与分层内核模型之间的详细比较。除了展示我们在Intel平台上的基准测试结果外,我们还综合了多个SYCL实现和编译器的最新研究发现。我们的结果揭示了当前SYCL实现中的关键限制和不一致之处,并提供了改进框架可靠性和跨平台可用性的见解。

英文摘要:

High-performance computing (HPC) applications are increasingly executed in heterogeneous environments, introducing new challenges for programming and software portability. SYCL has emerged as a leading model designed to simplify heterogeneous programming and make it more accessible to developers. Intended as a single-source, cross-platform parallel programming framework, SYCL promises portability, productivity, and performance across a variety of architectures. However, these goals have not been consistently defined or realized, leaving developers with varying expectations. This paper addresses this gap by evaluating SYCL from the perspective of application developers. We analyze whether SYCL meets essential criteria for cross-platform development, including code portability, development productivity, and runtime efficiency. Our evaluation draws on benchmarks and illustrative examples and focuses on SYCL's memory management and parallelism abstractions. We provide detailed comparisons between Unified Shared Memory (USM) and buffer-accessor approaches, as well as between NDRange and hierarchical kernel models. In addition to presenting our own benchmark results on Intel platforms, we synthesize findings from recent studies across multiple SYCL implementations and compilers. Our results expose key limitations and inconsistencies in current SYCL implementations and offer insights into the steps needed to improve the framework's reliability and cross-platform usability.

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

↑