Open hjabird opened 4 months ago
Enabling examples causes compilation failures when using AdaptiveCpp.
oneMKL 231aee3372a3812f854931e16fec974090061aaf (tip on 05.06.2024).
AdaptiveCpp v24.02.0 oneMKL 231aee3372a3812f854931e16fec974090061aaf (tip on 05.06.2024).
cmake ../onemkl/ -GNinja -DCMAKE_CXX_COMPILER=clang++ -DONEMKL_SYCL_IMPLEMENTATION=hipSYCL -DENABLE_MKLCPU_BACKEND=OFF -DENABLE_MKLGPU_BACKEND=OFF -DENABLE_ROCRAND_BACKEND=ON -DENABLE_ROCBLAS_BACKEND=ON -DBUILD_FUNCTIONAL_TESTS=OFF -DBUILD_EXAMPLES=ON -DhipSYCL_DIR=/path/to/adaptivecpp/install/lib/cmake/hipSYCL/ -DHIPSYCL_TARGETS=hip:gfx90a ninja
Failures due to the use of SYCL-2020 decorated multi-ptrs.
Examples should compile without errors.
Related AdaptiveCpp PR https://github.com/AdaptiveCpp/AdaptiveCpp/pull/1452 that may allow us to compile the examples with the current multi_ptr.
multi_ptr
Summary
Enabling examples causes compilation failures when using AdaptiveCpp.
Version
oneMKL 231aee3372a3812f854931e16fec974090061aaf (tip on 05.06.2024).
Environment
AdaptiveCpp v24.02.0 oneMKL 231aee3372a3812f854931e16fec974090061aaf (tip on 05.06.2024).
Steps to reproduce
Observed behavior
Failures due to the use of SYCL-2020 decorated multi-ptrs.
Expected behavior
Examples should compile without errors.