oneAPI OpenSource Math Library Interface

Get Math Smart: oneMKL Accelerates Math-Intensive Apps

Today, as part of the oneAPI industry initiative we released the open source math interface. The goal of open sourcing the oneAPI Math Kernel Library (oneMKL) interface is to address the lack of an industry-standard interface and provide a single, cross-architecture API for CPUs and accelerators. For example, sparse and random number generators lack a standardized interface. The oneMKL open source interface lets developers use a single API across multiple CPU and accelerator architectures. Until now, developers have used multiple, cross-architecture libraries, which increased the complexity of their code base and lengthened their development cycle.

More Choices for Math Libraries with Open Source

The oneMKL specification establishes an industry-standard, cross-architecture interface for math libraries as part of the oneAPI industry initiative. It lets developers efficiently code portable, math-intensive applications that run across multiple vendors’ architectures. The oneMKL APIs can be combined with math libraries that target a range of CPU hardware and other hardware accelerator architectures. For example, the oneMKL open source interface provides a path to support for NVIDIA and AMD libraries in addition to Intel CPUs, GPUs and other accelerators.

Cross-Architecture Capabilities

oneMKL is an important part of the oneAPI specification, which has key math library interfaces for:

  • Dense linear algebra
  • Sparse linear algebra
  • Discrete Fourier transforms
  • Random number generators
  • Vector math

Currently, the oneMKL open source interface implements the Dense linear algebra, or BLAS, functions which are defined as part of the oneMKL specification. In future development, additional open source interfaces may be added for the Discrete Fourier Transforms, Sparse linear algebra, and Random number generators. The oneAPI specification supports cross-architecture programming, extending developer programming models to enable a diverse set of hardware through language, a set of library APIs, and a low-level hardware interface. To promote compatibility and enable developer productivity and innovation, the oneAPI specification builds on industry standards and provides an open, cross-platform developer stack.

Get Innovating

Address the data deluge and get number-crunching today with oneMKL for oneAPI. Come join us to enable new hardware and extend math interfaces to other math domains:

Performance varies by use, configuration, and other factors. Learn more at