oneAPI Open-Source Math Library Interface

被引:9
作者
Krainiuk, Mariia [1 ]
Goli, Mehdi [2 ]
Pascuzzi, Vincent R. [3 ]
机构
[1] Intel Corp, Santa Clara, CA 95051 USA
[2] Codeplay Software Ltd, Edinburgh, Midlothian, Scotland
[3] Lawrence Berkeley Natl Lab, Berkeley, CA USA
来源
PROCEEDINGS OF 2021 INTERNATIONAL WORKSHOP ON PERFORMANCE, PORTABILITY & PRODUCTIVITY IN HPC (P3HPC 2021) | 2021年
关键词
oneAPI; DPC plus; SYCL; math library; open-source; portability; performance; HPC;
D O I
10.1109/P3HPC54578.2021.00006
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
To HPC and AI analytics engineers, math primitives such as basic linear algebra subprograms or random number generators are key functionality that have highly optimized implementations for different CPUs, GPUs, and other accelerators. However, developers must deal with different programming models and interfaces provided by various hardware vendors due to a lack of industry-standard interfaces for math primitives. This paper introduces the oneMKL open-source interfaces project, a SYCL-based math primitives library, as a viable approach for bridging the cross-platform performance portability gap for math primitives across various HPC architectures. By exploiting SYCL interoperability, this project enables integration of optimized vendor-dependent libraries to maximize code reusability without compromising the performance. The cross-platform performance portability of the project is carried out on two major HPC hardware platforms, including Intel CPU, NVIDIA GPU, and also an integrated Intel GPU. Our results show competitive performance with native optimized vendor-dependent libraries.
引用
收藏
页码:22 / 32
页数:11
相关论文
共 13 条
[1]  
Aad G., 2008, ATLAS EXPT CERN LARG, V3, DOI DOI 10.1088/1748-0221/3/08/S08003
[2]  
Alpay A, SYCL 2020 HIPSYCL DP
[3]  
[Anonymous], SYCLT SPECIFICATION
[4]  
[Anonymous], 2017, NEW ATLAS FAST CALOR, V898, DOI [10.1088/1742-6596/898/4/042006, DOI 10.1088/1742-6596/898/4/042006]
[5]   Porting HEP Parameterized Calorimeter Simulation Code to GPUs [J].
Dong, Zhihua ;
Gray, Heather ;
Leggett, Charles ;
Lin, Meifeng ;
Pascuzzi, Vincent R. ;
Yu, Kwangmin .
FRONTIERS IN BIG DATA, 2021, 4
[6]   The LINPACK benchmark: past, present and future [J].
Dongarra, JJ ;
Luszczek, P ;
Petitet, A .
CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2003, 15 (09) :803-820
[7]   Towards Cross-Platform Performance Portability of DNN Models using SYCL [J].
Goli, Mehdi ;
Narasimhan, Kumudha ;
Reyes, Ruyman ;
Tracy, Ben ;
Soutar, Daniel ;
Georgiev, Svetlozar ;
Fomenko, Evarist M. ;
Chereshnev, Eugene .
PROCEEDINGS OF 2020 IEEE/ACM INTERNATIONAL WORKSHOP ON PERFORMANCE, PORTABILITY AND PRODUCTIVITY IN HPC (P3HPC 2020), 2020, :25-35
[8]  
Hornung R. D, 2014, Tech. Rep
[9]   CLHEP - A PROJECT FOR DESIGNING A C++ CLASS LIBRARY FOR HIGH-ENERGY PHYSICS [J].
LONNBLAD, L .
COMPUTER PHYSICS COMMUNICATIONS, 1994, 84 (1-3) :307-316
[10]   Implications of a metric for performance portability [J].
Pennycook, S. J. ;
Sewall, J. D. ;
Lee, V. W. .
FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2019, 92 :947-958