Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit dffe2c6

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

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

SYCL/Scheduler/HostAccDestruction.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
33
// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
44
// RUN: env SYCL_PI_TRACE=2 %ACC_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
5-
// XFAIL: opencl && windows
65
//==---------------------- HostAccDestruction.cpp --------------------------==//
76
//
87
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

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)