Developer Guide and Reference

  • 2021.3
  • 06/28/2021
  • Public Content
Contents

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
      DAAL_DISABLE_LEVEL_ZERO
      define:
      #define DAAL_DISABLE_LEVEL_ZERO
    2. Disable Level Zero runtime:
      export SYCL_BE=PI_OPENCL

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.