oneapi-src / unified-memory-framework

A library for constructing allocators and memory pools. It also contains broadly useful abstractions and utilities for memory management. UMF allows users to manage multiple memory pools characterized by different attributes, allowing certain allocation types to be isolated from others and allocated using different hardware resources as required.

Home Page:https://oneapi-src.github.io/unified-memory-framework/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UMF build fails by default with fatal error: level_zero/ze_api.h: No such file or directory

ldorau opened this issue · comments

UMF build fails by default with fatal error: level_zero/ze_api.h: No such file or directory

/home/runner/work/unified-memory-framework/unified-memory-framework/src/provider/provider_level_zero.c:15:10: fatal error: level_zero/ze_api.h: No such file or directory
   15 | #include <level_zero/ze_api.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

(see https://github.com/oneapi-src/unified-memory-framework/actions/runs/8148957053/job/22272779208)
because UMF_BUILD_LEVEL_ZERO_PROVIDER=ON by default and there is no check for the level zero library.

Environment Information

  • UMF version (hash commit or a tag): 0d83bd0
  • OS(es) version(s): Linux