Porting numerical integration codes from CUDA to oneAPI: a case study

Ioannis Sakiotis, Kamesh Arumugam, Marc Paterno, Desh Ranjan, Balsa Terzic, Mohammad Zubair
Old Dominion University, Norfolk, VA 23529, USA
arXiv:2302.05730 [cs.DC], (17 Feb 2023)




   author={Sakiotis, Ioannis and Arumugam, Kamesh and Paterno, Marc and Ranjan, Desh and Terzic, Balsa and Zubair, Mohammad},

   keywords={Distributed, Parallel, and Cluster Computing (cs.DC), FOS: Computer and information sciences, FOS: Computer and information sciences},

   title={Porting numerical integration codes from CUDA to oneAPI: a case study},



   copyright={Creative Commons Attribution 4.0 International}


We present our experience in porting optimized CUDA implementations to oneAPI. We focus on the use case of numerical integration, particularly the CUDA implementations of PAGANI and m-Cubes. We faced several challenges that caused performance degradation in the oneAPI ports. These include differences in utilized registers per thread, compiler optimizations, and mappings of CUDA library calls to oneAPI equivalents. After addressing those challenges, we tested both the PAGANI and m-Cubes integrators on numerous integrands of various characteristics. To evaluate the quality of the ports, we collected performance metrics of the CUDA and oneAPI implementations on the Nvidia V100 GPU. We found that the oneAPI ports often achieve comparable performance to the CUDA versions, and that they are at most 10% slower.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2023 hgpu.org

All rights belong to the respective authors

Contact us: