Skip to content

Commit e2816f3

Browse files
Esimd emulator preparation (intel#744)
- This PR is for clearing failures observed while merging intel/llvm PR enabling esimd_emulator support by default (intel#5058) - Another PR should be created for actively loading and testing 'esimd_emulator' backend
1 parent 594ed3d commit e2816f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SYCL/lit.cfg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,11 +273,11 @@
273273
if 'cpu' in config.target_devices.split(','):
274274
found_at_least_one_device = True
275275
lit_config.note("Test CPU device")
276-
cpu_run_substitute = "env SYCL_DEVICE_FILTER=cpu,host "
276+
cpu_run_substitute = "env SYCL_DEVICE_FILTER={SYCL_PLUGIN}:cpu,host ".format(SYCL_PLUGIN=config.sycl_be)
277277
cpu_check_substitute = "| FileCheck %s"
278278
config.available_features.add('cpu')
279279
if platform.system() == "Linux":
280-
cpu_run_on_linux_substitute = "env SYCL_DEVICE_FILTER=cpu,host "
280+
cpu_run_on_linux_substitute = cpu_run_substitute
281281
cpu_check_on_linux_substitute = "| FileCheck %s"
282282
else:
283283
lit_config.warning("CPU device not used")

0 commit comments

Comments
 (0)