Skip to content

oneMKL build failed with the latest syclos compiler #360

@zhiweij1

Description

@zhiweij1

Summary

oneMKL build failed with the latest syclos compiler (20230731)

Steps to reproduce

cmake .. \
         -DENABLE_CUBLAS_BACKEND=True    \
         -DENABLE_CUSOLVER_BACKEND=True  \
         -DENABLE_CURAND_BACKEND=True    \
         -DENABLE_CUFFT_BACKEND=True     \
         -DENABLE_MKLCPU_BACKEND=False   \
         -DENABLE_MKLGPU_BACKEND=False   \
         -DBUILD_FUNCTIONAL_TESTS=False  \
         -DCMAKE_INSTALL_PREFIX=/export/users/zhiweij1/workspace/onemkl_interfaces/20230801

make -j12 && make install

Observed behavior

Error message

In file included from /export/users/zhiweij1/workspace/onemkl_interfaces/oneMKL/src/lapack/backends/cusolver/cusolver_batch.cpp:21:
In file included from /export/users/zhiweij1/workspace/onemkl_interfaces/oneMKL/src/lapack/backends/cusolver/cusolver_task.hpp:32:
In file included from /export/users/zhiweij1/workspace/onemkl_interfaces/oneMKL/src/lapack/backends/cusolver/cusolver_scope_handle.hpp:27:
/nfs/shm/proj/icl/cmplrarch/deploy_syclos/llorgsyclngefi2linux/20230731_160000/build/linux_qa_release/bin/../include/sycl/backend/cuda.hpp:17:2: warning: sycl/backend/cuda.hpp is deprecated and not required anymore [-W#warnings]
   17 | #warning sycl/backend/cuda.hpp is deprecated and not required anymore
      |  ^
In file included from /export/users/zhiweij1/workspace/onemkl_interfaces/oneMKL/src/lapack/backends/cusolver/cusolver_batch.cpp:21:
In file included from /export/users/zhiweij1/workspace/onemkl_interfaces/oneMKL/src/lapack/backends/cusolver/cusolver_task.hpp:32:
/export/users/zhiweij1/workspace/onemkl_interfaces/oneMKL/src/lapack/backends/cusolver/cusolver_scope_handle.hpp:82:11: error: no type named 'interop_handler' in namespace 'sycl'; did you mean 'interop_handle'?
   82 |     sycl::interop_handler &ih;
      |     ~~~~~~^~~~~~~~~~~~~~~
      |           interop_handle
/nfs/shm/proj/icl/cmplrarch/deploy_syclos/llorgsyclngefi2linux/20230731_160000/build/linux_qa_release/bin/../include/sycl/interop_handle.hpp:36:7: note: 'interop_handle' declared here
   36 | class interop_handle {
      |       ^

I think oneMKL needs to update the code since the compiler has merged some ABI-breaking PRs (e.g., intel/llvm#10246)

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