Developer Guide and Reference

  • 2021.4
  • 09/27/2021
  • Public Content

Level Zero runtime dependency

When you build an application with oneDAL on Linux*, you might encounter the following error:
fatal error: 'level_zero/ze_api.h' file not found
This means that you do not have Level Zero in your environment.
For more information about Level Zero, refer to Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference.

How to Fix

There are two ways to fix this:
  • Change your driver version to the one with Level Zero support.
  • Compile your application without Level Zero support:
    1. Use
    2. Disable Level Zero runtime:
      export SYCL_BE=PI_OPENCL

Product and Performance Information


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