Skip to content

Refactor SYCLBIN testing to unify target modes #20736

@steffenlarsen

Description

@steffenlarsen

Suggested by @aelovikov-intel in #20707 (review)_:

Have a local format.py in SYCLBIN such that

// REQUIRES-EXEC: ...
// REQUIRES-OBJ: ...
// REQUIRES-INPUT: ...
// RUN-EXEC: <exec-specific>
// RUN-OBJ: <object-specific>
// RUN-INPUT: <input-specific>
// RUN: %{build} ...
// RUN: %{run} ...

would generate three tests "on-the-fly".

This should allow the SYCLBIN tests to include execution, object and input testing in the same file, rather than having to split each case into separate files, despite testing the same functionality for the different target modes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions