Skip to content

Using SYCL to generate device kernels is a bad idea #1434

Open
@hdelan

Description

@hdelan

We have no ABI guarantees for the ordering of kernel args for lambda kernels in SYCL. For a given kernel lambda, it is feasible that different lambda signatures are generated across different versions of the same compiler.

As such we should not use SYCL lambdas to generate device kernels here https://github.com/oneapi-src/unified-runtime/tree/main/test/conformance/device_code

We should use an API where kernel signatures are explicit, like openCL kernel language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    conformanceConformance test suite issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions