Skip to content

[SYCL] segfault in clCreateProgramWithIL with OpenCL 2.0 #12

Closed
@kusma

Description

@kusma

My distro (Fedora 29) provides OpenCL with version reported as "OpenCL 2.0 beignet 1.3", which is incapable of using SPIR-V.

So when we unconditionally run clCreateProgramWithIL because we have a SPIR-V binary, we end up crashing with a SIGSEGV.

IMO, we should try to deal with this a bit more gracefully.

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