Skip to content

[CI] Run upstream MLIR XeGPU integration tests in run_xegpu_simt_integration_tests.sh#1212

Open
Garra1980 wants to merge 1 commit into
mainfrom
add_upstream_xegpu_integration_tests_for_upstream
Open

[CI] Run upstream MLIR XeGPU integration tests in run_xegpu_simt_integration_tests.sh#1212
Garra1980 wants to merge 1 commit into
mainfrom
add_upstream_xegpu_integration_tests_for_upstream

Conversation

@Garra1980

Copy link
Copy Markdown
Contributor
Add a runner for the upstream MLIR XeGPU integration tests (LANE/SG/WG under
llvm-project/mlir/test/Integration/Dialect/XeGPU) directly to the script,
bypassing lit. It parses each test's `// RUN:` header, substitutes the known
lit variables (%s and the %mlir_* runtime libs), and executes the pipeline via
the freshly-built mlir-opt/mlir-runner/FileCheck.

- Tests whose RUN line contains `zebin-chip=cri` are compile-only: only the mlir-opt segment runs, with `binary-format=isa` appended so the ocloc step (which doesn't recognise `cri` outside Intel-internal toolchains) is skipped.
- Tests marked `// XFAIL:` are skipped rather than reported as failures.
- New `--upstream-tests` / `--no-upstream-tests` flags gate this stage (default: enabled). 

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

…egration_tests.sh

    Add a runner for the upstream MLIR XeGPU integration tests (LANE/SG/WG under
    llvm-project/mlir/test/Integration/Dialect/XeGPU) directly to the script,
    bypassing lit. It parses each test's `// RUN:` header, substitutes the known
    lit variables (%s and the %mlir_* runtime libs), and executes the pipeline via
    the freshly-built mlir-opt/mlir-runner/FileCheck.

    - Tests whose RUN line contains `zebin-chip=cri` are compile-only: only the
      mlir-opt segment runs, with `binary-format=isa` appended so the ocloc step
      (which doesn't recognise `cri` outside Intel-internal toolchains) is skipped.
    - Tests marked `// XFAIL:` are skipped rather than reported as failures.
    - New `--upstream-tests` / `--no-upstream-tests` flags gate this stage
      (default: enabled). The upstream runner requires an LLVM source tree, so the
      BMG GTA workflow (which passes a pre-built build dir) is switched to
      `--no-upstream-tests`.

    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants