Skip to content

Commit 9f07d64

Browse files
committed
[examples] Require KB on XeGPU example
Adds explicit dependency on KernelBench to XeGPU KB example. This prevents unexpected failures on fresh repository copies where KB submodule might be uninitialized.
1 parent 5e666df commit 9f07d64

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎examples/xegpu/kernel_bench.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# RUN: %PYTHON %s -l 2 -b 9 --dump-kernel=xegpu-wg | FileCheck %s
22
# RUN: %PYTHON %s -l 1 -b 97 --input-shapes 32x32x512x64 32x32x512x64 32x32x512x64 --dump-kernel xegpu-wg | FileCheck %s
33
# REQUIRES: torch
4+
# REQUIRES: kernel_bench
5+
46
# CHECK: module attributes {gpu.container_module} {
57
"""
68
This script executes KernelBench benchmarks using the XEGPU lowering pipeline.

0 commit comments

Comments
 (0)