[Paper Review] Porting a sparse linear algebra math library to Intel GPUs
This paper presents the first open-source, platform-portable sparse linear algebra library backend for Intel GPUs using DPC++ and oneAPI, demonstrating competitive performance against vendor-optimized libraries. It achieves up to 90% of peak bandwidth on Intel Gen12 GPUs and shows strong performance portability across AMD, NVIDIA, and Intel hardware, validating DPC++ as a viable path for HPC workloads on emerging Intel GPUs.
With the announcement that the Aurora Supercomputer will be composed of general purpose Intel CPUs complemented by discrete high performance Intel GPUs, and the deployment of the oneAPI ecosystem, Intel has committed to enter the arena of discrete high performance GPUs. A central requirement for the scientific computing community is the availability of production-ready software stacks and a glimpse of the performance they can expect to see on Intel high performance GPUs. In this paper, we present the first platform-portable open source math library supporting Intel GPUs via the DPC++ programming environment. We also benchmark some of the developed sparse linear algebra functionality on different Intel GPUs to assess the efficiency of the DPC++ programming ecosystem to translate raw performance into application performance. Aside from quantifying the efficiency within the hardware-specific roofline model, we also compare against routines providing the same functionality that ship with Intel's oneMKL vendor library.
Motivation & Objective
- To enable production-ready sparse linear algebra functionality on Intel's new discrete GPUs using the oneAPI ecosystem.
- To evaluate the performance of DPC++-based kernels on Intel Gen9 and Gen12 GPUs relative to hardware limits and vendor libraries.
- To demonstrate platform portability of the Ginkgo library across diverse GPU architectures using a single DPC++ backend.
- To assess the efficiency of translating raw GPU performance into real-world sparse linear algebra operations like SpMV and Krylov solvers.
Proposed method
- Extended the Ginkgo open-source library with a DPC++ backend to support Intel GPUs via the oneAPI programming model.
- Implemented optimized sparse matrix-vector multiplication (SpMV) kernels in DPC++ for both single and double precision on Intel GPUs.
- Benchmarked SpMV and Krylov solvers using matrices from the SuiteSparse collection on Intel Gen9 and Gen12 GPUs.
- Compared performance against Intel’s oneMKL vendor library and evaluated efficiency using the hardware-specific roofline model.
- Used relative performance to theoretical peak (bandwidth and FLOP/s) to assess portability and algorithmic efficiency across platforms.
- Leveraged Ginkgo’s modular design to reuse core components like executors, types, and bindings while adapting to DPC++ runtime semantics.
Experimental results
Research questions
- RQ1Can a platform-portable open-source sparse linear algebra library achieve high performance on Intel’s new discrete GPUs using DPC++?
- RQ2How does the performance of DPC++-based SpMV kernels compare to Intel’s oneMKL vendor library on Intel GPUs?
- RQ3To what extent does the Ginkgo library maintain performance portability across AMD, NVIDIA, and Intel GPU architectures?
- RQ4What is the achievable performance of Krylov solvers on Intel Gen12 GPUs, and what limitations affect their efficiency?
- RQ5How well does the DPC++ programming model translate raw hardware performance into application-level performance for sparse linear algebra?
Key findings
- The DPC++ backend for Ginkgo achieves up to 90% of peak memory bandwidth on Intel Gen12 GPUs, indicating high efficiency in kernel optimization.
- On Intel Gen12 GPUs, Ginkgo’s SpMV kernels achieve 5–9 GFLOP/s in single precision, with performance varying significantly by matrix structure.
- The GMRES solver showed lower performance than other Krylov solvers, likely due to incomplete oneAPI support for required operations like Hessenberg system solution.
- On Intel Gen9 GPUs, SpMV performance reached 1.5–2.5 GFLOP/s in double precision, with Ginkgo’s kernels achieving 60–70% of peak bandwidth.
- Ginkgo’s SpMV kernels were competitive with oneMKL on all platforms, with oneMKL outperforming Ginkgo in some Gen12 cases but underperforming in others.
- The relative performance analysis confirms strong performance portability: Ginkgo’s DPC++ backend delivers consistent efficiency across AMD, NVIDIA, and Intel GPUs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.