Skip to content

Commit 6098a75

Browse files
[SYCL][E2E] Fix the test script after changing sycl-ls output (#12672)
In PR##12596, we changed the output of sycl-ls to use 'fpga' instead of 'acc'. This has caused several tests to fail when fpga is available on the system. This PR fixes that. In retrospect, we should have enabled testing on FPGA in pre-commit testing as this bug could have been caught earlier.
1 parent db04b1e commit 6098a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test-e2e/lit.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@
669669
features.update(sg_size_features)
670670

671671
be, dev = sycl_device.split(":")
672-
features.add(dev.replace("acc", "accelerator"))
672+
features.add(dev.replace("fpga", "accelerator"))
673673
# Use short names for LIT rules.
674674
features.add(be)
675675

0 commit comments

Comments
 (0)