Skip to content

Commit c952354

Browse files
authored
[SYCL] Enable tests for accelerator on windows (intel#39)
* Remove debug message in LIT script * Remove XFAIL for passing test
1 parent 4a54111 commit c952354

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

SYCL/lit.cfg.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@
102102

103103
# ESIMD-specific setup. Requires OpenCL for now.
104104
if "opencl" in config.available_features:
105-
print(config.available_features)
106105
esimd_run_substitute = " env SYCL_BE=PI_OPENCL SYCL_DEVICE_TYPE=GPU SYCL_PROGRAM_COMPILE_OPTIONS=-vc-codegen"
107106
config.substitutions.append( ('%ESIMD_RUN_PLACEHOLDER', esimd_run_substitute) )
108107
config.substitutions.append( ('%clangxx-esimd', config.dpcpp_compiler +
@@ -197,11 +196,7 @@
197196

198197
acc_run_substitute = "true"
199198
acc_check_substitute = ""
200-
# Tests executed with FPGA emu on Windows are not stable
201-
# Disabled until FPGA emulator is fixed
202-
if platform.system() == "Windows":
203-
lit_config.warning("Accelerator device is disabled on Windows because of instability")
204-
elif 'acc' in config.target_devices.split(','):
199+
if 'acc' in config.target_devices.split(','):
205200
found_at_least_one_device = True
206201
lit_config.note("Tests accelerator device")
207202
acc_run_substitute = " env SYCL_DEVICE_TYPE=ACC "

0 commit comments

Comments
 (0)