Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with open-source DPC++-LLVM (clang++) broken due to compiler removal of sycl/detail/pi.hpp #558

Closed
gajanan-choudhary opened this issue Aug 17, 2024 · 0 comments · Fixed by #546
Labels
build A request to change/fix/improve the build system

Comments

@gajanan-choudhary
Copy link
Contributor

Summary

The open-source Intel LLVM compiler recently removed the header file sycl/detail/pi.hpp (among others) in their PR#14145. As a result, building oneMKL Interfaces with latest nightly builds of the compiler is broken. Issue is reproducible with latest nightly drops at this link, but not reproducible (builds fine) with some slightly older drops, e.g. nightly-07-22.

Details

  • Compiler version:
    clang version 19.0.0git (https://github.com/intel/llvm.git 44c34c14326a189f719fbbe3393a8ee4a790f1c2)
    
  • CMake output log:
    -- CMAKE_BUILD_TYPE: Release
    -- TARGET_DOMAINS: blas
    -- Looking for dpc++
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /export/users/gchoudha/oneMKL-interfaces/build
    Consolidate compiler generated dependencies of target onemkl_blas
    [ 10%] Built target onemkl_blas
    Consolidate compiler generated dependencies of target onemkl_blas_cublas_obj
    [ 20%] Building CXX object bin/blas/backends/cublas/CMakeFiles/onemkl_blas_cublas_obj.dir/cublas_level1.cpp.o
    In file included from /export/users/gchoudha/oneMKL-interfaces/src/blas/backends/cublas/cublas_level1.cpp:20:
    In file included from /export/users/gchoudha/oneMKL-interfaces/src/blas/backends/cublas/cublas_task.hpp:34:
    /export/users/gchoudha/oneMKL-interfaces/src/blas/backends/cublas/cublas_scope_handle.hpp:31:10: fatal error: 'sycl/detail/pi.hpp' file not found
       31 | #include <sycl/detail/pi.hpp>
          |          ^~~~~~~~~~~~~~~~~~~~
    1 error generated.
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build A request to change/fix/improve the build system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant