Level Zero

The objective of the oneAPI Level Zero API is to provide direct-to-metal interfaces to offload accelerator devices. It is a programming interface that can be published at a cadence that better matches Intel® hardware releases and can be tailored to any device needs. It can be adapted to support broader set of languages features, such as function pointers, virtual functions, unified memory, and I/O capabilities.

oneAPI SW Stack

The Level Zero API provides the lowest-level, fine-grain and most explicit control over:

  • Device Discovery
  • Memory Allocation
  • Peer-to-Peer Communication
  • Inter-Process Sharing
  • Kernel Submission
  • Asynchronous Execution and Scheduling
  • Synchronization Primitives
  • Metrics Reporting
  • System Management Interface

Most applications should not require the additional control provided by the Level Zero API. The Level Zero API is intended for providing explicit controls needed by higher-level runtime APIs and libraries.

While heavily influenced by other low-level APIs, such as OpenCL, the Level Zero APIs are designed to evolve independently. While heavily influenced by GPU archtiecture, the Level Zero APIs are designed to be supportable across different compute device architectures, such as FPGAs, Deep learning accelerators, etc.

Installation

To install the Level Zero libraries, add the development package repository for your operating system (see Installation guides).

NOTE: Level Zero is under active development and the packages available in the development package repository are being provided for reference purposes.

Red Hat 8.x

Install the development repository for Red Hat 8.x and then install the Level Zero packages:

sudo dnf install intel-level-zero-gpu level-zero

Optional: You can install the ‘level-zero-devel’ package for test tools and development header files.

SUSE 15

Install the development repository for SUSE 15 and then install the Level Zero packages:

sudo zypper install intel-level-zero-gpu level-zero

Optional: You can install the ‘level-zero-devel’ package for test tools and development header files.

Ubuntu 20.04

Install the development repository Ubuntu 20.04 and then install the Level Zero packages:

sudo apt-get install intel-level-zero-gpu level-zero

Optional: You can install the ‘level-zero-dev’ package for test tools and development header files.

Additional information

See the Level Zero project on GitHub.

The API specification can be found on spec.oneapi.com.

Feedback on this page?

If you have feedback on this page, please visit the community documentation project project on GitHub and file an issue.