Skip to content

Commit 8fa9127

Browse files
committed
[NFC][SYCL] Enable LIT for FPGA on Windows
1 parent e65841b commit 8fa9127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test/lit.cfg.py

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

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

0 commit comments

Comments
 (0)