Skip to content

__spirv_ macro added in 9ce77255b9a48 conflict with namespace in sycl headers #18219

Open
@jsji

Description

@jsji

Describe the bug

We have __spirv namespace defined in sycl/include/sycl/__spirv/spirv_vars.hpp

9adce8ad68b7 revert 9ce7725 temporarily for now,
we should seek a solution for this.

To reproduce

git cherry-pick 9ce7725
build compiler
cd build
bin/clang++ -Werror -fsycl -fsycl-targets=spirv64 --offload-new-driver ../sycl/test-e2e/NewOffloadDriver/buffer.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpdtrackerPulldown tracker for issues/reverts that needs follow up

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions