oneAPI (compute acceleration)

This is an old revision of this page, as edited by GoBuck76 (talk | contribs) at 16:10, 10 March 2020 (Implementations: Changed wording. Codeplay has released.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


oneAPI[1][2][3][4] is a cross-industry initiative for an open, standards-based unified programming model that creates a common developer experience across compute accelerator architectures. Its objective is to deliver an efficient, performant programming model that eliminates the need for developers to maintain separate code bases, multiple programming languages, and different tools and workflows for each architecture.

The oneAPI Specification

The oneAPI specification[5][6] extends existing developer programming models to enable multiple hardware architectures through a data-parallel language, a set of library APIs, and a low-level hardware interface to support cross-architecture programming. It builds upon industry standards and provides an open, cross-platform developer stack.

The Language – Data Parallel C++

DPC++[7][8] is an open, cross-architecture language built upon the ISO C++ and Khronos Group SYCL standards[9]. DPC++ extends these standards with explicit parallel constructs like sub-groups and unified shared memory offload interfaces to support a broad range of computing architectures and processors, including CPUs and accelerators. Extensions are contributed back to standards bodies.

The oneAPI Libraries

The set of APIs[10] spans several domains that benefit from acceleration, including an interface for deep learning; general libraries for linear algebra math, video, and media processing; and others.

Library Name Short

Name

Description
oneAPI DPC++ Library oneDPL Algorithms and functions to speed DPC++ kernel programming
oneAPI Math Kernel Library oneMKL Math routines including matrix algebra, FFT, and vector math
oneAPI Data Analytics Library oneDAL Machine learning and data analytics functions
oneAPI Deep Neural Network Library oneDNN Neural networks functions for deep learning training and inference
oneAPI Collective Communications Library oneCCL Communication patterns for distributed deep learning
oneAPI Threading Building Blocks oneTBB Threading and memory management template library
oneAPI Video Processing Library oneVPL Real-time video encode, decode, transcode, and processing

The Hardware Abstraction Layer

oneAPI Level Zero[11], the low-level hardware interface, defines a set of capabilities and services that a hardware accelerator needs to interface with compiler runtimes and other developer tools.

Implementations

Intel has released a oneAPI Beta Product[12][13] that implements the specification and adds migration, analysis, and debug tools.

Codeplay has released an open-source layer[14][15][16] to allow oneAPI and SYCL / Data Parallel C++ to run atop Nvidia GPUs via CUDA.

References

  1. ^ "Intel Expands its Silicon Portfolio, and oneAPI Software Initiative for Next-Generation HPC". HPCwire. 2019-12-09. Retrieved 2020-02-11.
  2. ^ "Intel Debuts New GPU – Ponte Vecchio – and Outlines Aspirations for oneAPI". HPCwire. 2019-11-18. Retrieved 2020-02-11.
  3. ^ "SC19: Intel Unveils New GPU Stack, oneAPI Development Effort - ExtremeTech". www.extremetech.com. Retrieved 2020-02-11.
  4. ^ Kennedy, Patrick (2018-12-24). "Intel One API to Rule Them All Is Much Needed to Expand TAM". ServeTheHome. Retrieved 2020-02-11.
  5. ^ "The oneAPI Specification". oneAPI.{{cite web}}: CS1 maint: url-status (link)
  6. ^ "www.openmobilealliance.org - /release/OneAPIProfileREST/". www.openmobilealliance.org. Retrieved 2020-02-11.
  7. ^ "Data Parallel C++: Mastering DPC++ for Programming of Heterogeneous Systems Using C++ and SYCL". Apress.{{cite web}}: CS1 maint: url-status (link)
  8. ^ Team, Editorial (2019-12-16). "Heterogeneous Computing Programming: oneAPI and Data Parallel C++". insideBIGDATA. Retrieved 2020-02-11.
  9. ^ "The Khronos Group". The Khronos Group. 2020-02-11. Retrieved 2020-02-11.
  10. ^ "oneAPI specification elements". oneAPI.{{cite web}}: CS1 maint: url-status (link)
  11. ^ Verheyde 2019-12-08T16:11:19Z, Arne. "Intel Releases Bare-Metal oneAPI Level Zero Specification". Tom's Hardware. Retrieved 2020-02-11.{{cite web}}: CS1 maint: numeric names: authors list (link)
  12. ^ "Intel oneAPI Product". Intel oneAPI Toolkits.{{cite web}}: CS1 maint: url-status (link)
  13. ^ "oneAPI Training". Colfax International. Retrieved 2020-02-11.
  14. ^ "Codeplay Open Sources a Version of DPC++ for Nvidia GPUs". HPCwire. 2020-02-05. Retrieved 2020-02-12.
  15. ^ "Intel's oneAPI / DPC++ / SYCL Will Run Atop NVIDIA GPUs With Open-Source Layer - Phoronix". www.phoronix.com. Retrieved 2019-12-06.
  16. ^ "Codeplay - Codeplay contribution to DPC++ brings SYCL support for NVIDIA GPUs". www.codeplay.com. Retrieved 2020-02-11.