Skip to content

Commit 58eea55

Browse files
authored
[NFC][SYCL] Enable LIT for FPGA on Windows (#2262)
1 parent 7e1b4b5 commit 58eea55

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sycl/test/lit.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def getDeviceCount(device_type):
182182

183183
acc_run_substitute = "true"
184184
acc_check_substitute = ""
185-
if getDeviceCount("accelerator")[0] and platform.system() == "Linux":
185+
if getDeviceCount("accelerator")[0]:
186186
found_at_least_one_device = True
187187
lit_config.note("Found available accelerator device")
188188
acc_run_substitute = " env SYCL_DEVICE_TYPE=ACC "

sycl/test/spec_const/spec_const_hw_accelerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
// TODO: re-enable after CI drivers are updated to newer which support spec
1313
// constants:
14-
// XFAIL: linux && opencl && accelerator
14+
// XFAIL: opencl && accelerator
1515
// UNSUPPORTED: cuda || level_zero
1616
#include "spec_const_hw.cpp"
1717
// RUN: %ACC_RUN_PLACEHOLDER %t.out

sycl/test/spec_const/spec_const_redefine_accelerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
// TODO: re-enable after CI drivers are updated to newer which support spec
1515
// constants:
16-
// XFAIL: linux && opencl && accelerator
16+
// XFAIL: opencl && accelerator
1717
// UNSUPPORTED: cuda || level_zero
1818
#include "spec_const_redefine_accelerator.cpp"
1919
// RUN: env SYCL_PI_TRACE=2 %ACC_RUN_PLACEHOLDER %t.out 2>&1 %ACC_CHECK_PLACEHOLDER

0 commit comments

Comments
 (0)