Skip to content

[NATIVE_CPU] UR compilation error with native cpu support #1200

@wlemkows

Description

@wlemkows

commit: c90c8be

Ubuntu 22.04.3
kernel 5.15
Hardware Class: cpu
Model: Intel(R) Xeon(R) Platinum 8280L CPU @ 2.70GHz

Command and build available here:
https://github.com/oneapi-src/unified-runtime/actions/runs/7254343234/job/19776525903

cmake -B $WORKDIR/build -DUR_ENABLE_TRACING=ON -DUR_DEVELOPER_MODE=ON -DUR_BUILD_TESTS=ON -DUMF_ENABLE_POOL_TRACKING=ON -DUR_FORMAT_CPP_STYLE=ON -DCMAKE_BUILD_TYPE=Debug -DUR_BUILD_ADAPTER_L0=ON -DUR_BUILD_ADAPTER_CUDA=ON -DCUDA_CUDA_LIBRARY=/usr/local/cuda/lib64/stubs/libcuda.so -DUR_BUILD_ADAPTER_NATIVE_CPU=ON -DUR_BUILD_ADAPTER_HIP=ON

cmake --build /home/test-user/coverity/actions-runner/__work_cov/unified-runtime/unified-runtime/build

Error:

/home/test-user/coverity/actions-runner/__work_cov/unified-runtime/unified-runtime/source/adapters/native_cpu/physical_mem.cpp:14:10: fatal error: event.hpp: No such file or directory
   14 | #include "event.hpp"
      |          ^~~~~~~~~~~
compilation terminated.
gmake[2]: *** [source/adapters/native_cpu/CMakeFiles/ur_adapter_native_cpu.dir/build.make:216: source/adapters/native_cpu/CMakeFiles/ur_adapter_native_cpu.dir/physical_mem.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:2657: source/adapters/native_cpu/CMakeFiles/ur_adapter_native_cpu.dir/all] Error 2

This change may introduce an error:
#939

+@steffenlarsen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions