Skip to content

Commit b26509b

Browse files
silee2Garra1980
andauthored
[Test][CFG] Fix lit cfg to proper include mlir sycl runtime (#1085)
Initialize mlir sycl runtime correctly Co-authored-by: Igor Zamyatin <[email protected]>
1 parent 571596e commit b26509b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/lit.cfg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@
3939
config.substitutions.append(('%vulkan_runtime_wrappers', config.vulkan_runtime_wrappers))
4040
config.substitutions.append(('%imex_runner', config.imex_runner))
4141
config.substitutions.append(('%python_executable', config.python_executable))
42-
if config.imex_enable_sycl_runtime:
42+
if config.mlir_enable_sycl_runtime:
4343
config.substitutions.append(('%mlir_sycl_runtime', config.mlir_sycl_runtime))
44+
if config.imex_enable_sycl_runtime:
4445
config.substitutions.append(('%sycl_runtime', config.sycl_runtime))
4546
if config.imex_enable_l0_runtime:
4647
config.substitutions.append(('%levelzero_runtime', config.levelzero_runtime))

0 commit comments

Comments
 (0)