Skip to content

How to create program objects from SPIRV with clCreateProgramWithBinary runtime API . #3124

@malixian

Description

@malixian

I can emit SPIRV with command clang++ -fsycl -fsycl-device-only -fno-sycl-use-bitcode test.cpp.
And I would like to know how to create program objects from SPIRV with clCreateProgramWithBinary runtime API .
If this way works, can you give me some examples?

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