File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,19 @@ include(HandleLLVMOptions)
82
82
set (IMEX_ENABLE_SYCL_RUNTIME 0 CACHE BOOL "Enable the Sycl Runtime" )
83
83
set (IMEX_ENABLE_L0_RUNTIME 0 CACHE BOOL "Enable the Level Zero Runtime" )
84
84
85
+ # Normalize IMEX_ENABLE_SYCL_RUNTIME and IMEX_ENABLE_L0_RUNTIME
86
+ # These values are expected to be passed as 0 or 1 to imex-runner.py
87
+ if (IMEX_ENABLE_SYCL_RUNTIME )
88
+ set (IMEX_ENABLE_SYCL_RUNTIME 1 )
89
+ else ()
90
+ set (IMEX_ENABLE_SYCL_RUNTIME 0 )
91
+ endif ()
92
+
93
+ if (IMEX_ENABLE_L0_RUNTIME )
94
+ set (IMEX_ENABLE_L0_RUNTIME 1 )
95
+ else ()
96
+ set (IMEX_ENABLE_L0_RUNTIME 0 )
97
+ endif ()
85
98
86
99
# Check if mlir vulkan runner was configured from mlir
87
100
# target mlir-vulkan-runner is only set if vulkan runner was enabled during
You can’t perform that action at this time.
0 commit comments