Skip to content

Examples fail to build with AdaptiveCpp #507

@hjabird

Description

@hjabird

Summary

Enabling examples causes compilation failures when using AdaptiveCpp.

Version

oneMKL 231aee3 (tip on 05.06.2024).

Environment

AdaptiveCpp v24.02.0
oneMKL 231aee3 (tip on 05.06.2024).

Steps to reproduce

 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

Observed behavior

Failures due to the use of SYCL-2020 decorated multi-ptrs.

Expected behavior

Examples should compile without errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3rd partyThe issue/request was root caused to 3d party implementation and cannot be addressed in oneAPI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions