基于SYCL和oneMath的Python中性能可移植的精确高斯过程回归 Performance-Portable Exact Gaussian Process Regression in Python via SYCL and oneMath 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-11-12
👁️ 预览文献
💡 AI 中文简介
本研究针对多厂商GPU环境下代码可移植性与原生性能难以兼得的问题,为开源Python精确高斯过程回归库GPRat开发了基于UXL Foundation oneMath的后端,采用HPX/SYCL混合设计,使其能运行在AMD和Intel GPU上。在NVIDIA A30上,新后端性能与原生CUDA相差不到3%,并超越GPflow和GPyTorch库最高达1.75倍和2.17倍;在AMD MI210上分别超越1.79倍和4.62倍。该工作通过单一SYCL代码库实现了跨厂商GPU的高性能,无需厂商特定代码。
领域高性能计算与机器学习系统
适合谁读需要一定专业背景(熟悉GPU编程、高斯过程及Python科学计算)
核心贡献1. 为GPRat库开发了基于oneMath的SYCL后端,采用HPX/SYCL混合设计,实现了跨厂商GPU的性能可移植性。2. 单一SYCL代码库在NVIDIA GPU上接近原生CUDA性能,在AMD GPU上显著超越现有Python高斯过程框架。
关键数据在NVIDIA A30上,SYCL后端性能与原生CUDA相差不到3%;在A30上超越GPflow和GPyTorch分别达1.75倍和2.17倍;在AMD MI210上分别超越1.79倍和4.62倍;在Intel Arc B580上性能不及CPU后端。
推荐理由如果你关心如何用一套代码在NVIDIA、AMD、Intel GPU上都能跑出高性能,这篇工作给出了一个漂亮的答案,性能数据也很亮眼。
关键词["高斯过程回归", "SYCL", "oneMath", "性能可移植性", "HPX", "GPU计算"]

原文摘要

查看英文原文摘要

Modern multi-vendor GPU environments force a choice between portable code and native performance. GPRat is an open-source Python library for exact Gaussian process regression built on the HPX asynchronous many-task runtime, tiled algorithms, and CPU/CUDA BLAS backends. We contribute a UXL Foundation oneMath backend with a hybrid HPX/SYCL design, extending GPRat to AMD and Intel GPUs. The new SYCL backend comes within 3% of native CUDA on an NVIDIA A30 at the largest problem size and outperforms the GPflow and GPyTorch libraries by up to 1.75x and 2.17x on the A30 and up to 1.79x and 4.62x on an AMD Instinct MI210. On an Intel Arc B580, a consumer-class card with FP64 throughput below our CPUs, the unmodified SYCL backend trails GPRat's CPU backend. Overall, oneMath's dispatch to vendor-native BLAS lets a single SYCL codebase match CUDA on NVIDIA and outperform established Python GP frameworks on AMD, without vendor-specific code.