arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.10075cs.PFcs.DC
收藏

评估SYCL在带宽受限应用上跨CPU和GPU的性能可移植性

Evaluating the performance portability of SYCL across CPUs and GPUs on bandwidth-bound applications

Istvan Z Reguly

AI总结:

本文评估SYCL编程模型在最新CPU和GPU上的性能可移植性,发现其在GPU上略优于原生方法,但在CPU上仍落后,表明SYCL虽提供统一编程模型,仍需改进CPU性能。

摘要:

在本文中,我们利用两种主要编译器DPC++和hipSYCL/OpenSYCL,在来自广泛厂商的一些最新CPU和GPU上评估SYCL编程模型的可移植性。这两种编译器目前都支持来自三大主要厂商的GPU;我们评估了Intel(R) Data Center GPU Max 1100、NVIDIA A100 GPU和AMD MI250X GPU上的性能。目前CPU上的支持尚不完善,DPC++仅通过OpenCL支持x86 CPU,而OpenSYCL确实有一个能够面向所有现代CPU的OpenMP后端;我们对Intel Xeon Platinum 8360Y处理器(Ice Lake)、AMD EPYC 9V33X(Genoa-X)和Ampere Altra平台进行了基准测试。我们研究了一系列使用OPS和OP2领域特定语言(DSL)实现的、主要以带宽受限为主的应用,评估了SYCL中的不同表述方式,并将其性能与可用的“原生”编程方法(CUDA/HIP/OpenMP)进行对比。在GPU架构上,SYCL平均甚至略微优于原生方法,而在CPU上则落后——这凸显了持续改进CPU性能的必要性。虽然SYCL并未解决性能可移植性的所有挑战(例如在不同硬件上需要不同算法),但它确实提供了一个单一的编程模型和生态系统,能够高效地面向大多数当前的高性能计算(HPC)架构。

英文摘要:

In this paper, we evaluate the portability of the SYCL programming model on some of the latest CPUs and GPUs from a wide range of vendors, utilizing the two main compilers: DPC++ and hipSYCL/OpenSYCL. Both compilers currently support GPUs from all three major vendors; we evaluate performance on the Intel(R) Data Center GPU Max 1100, the NVIDIA A100 GPU, and the AMD MI250X GPU. Support on CPUs currently is less established, with DPC++ only supporting x86 CPUs through OpenCL, however, OpenSYCL does have an OpenMP backend capable of targeting all modern CPUs; we benchmark the Intel Xeon Platinum 8360Y Processor (Ice Lake), the AMD EPYC 9V33X (Genoa-X), and the Ampere Altra platforms. We study a range of primarily bandwidth-bound applications implemented using the OPS and OP2 DSLs, evaluate different formulations in SYCL, and contrast their performance to "native" programming approaches where available (CUDA/HIP/OpenMP). On GPU architectures SCYL on average even slightly outperforms native approaches, while on CPUs it falls behind - highlighting a continued need for improving CPU performance. While SYCL does not solve all the challenges of performance portability (e.g. needing different algorithms on different hardware), it does provide a single programming model and ecosystem to target most current HPC architectures productively.

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

↑