Skip to content

Commit

Permalink
[SYCL][E2E] Fix the test script after changing sycl-ls output (#12672)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
uditagarwal97 authored Feb 9, 2024
1 parent db04b1e commit 6098a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/test-e2e/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@
features.update(sg_size_features)

be, dev = sycl_device.split(":")
features.add(dev.replace("acc", "accelerator"))
features.add(dev.replace("fpga", "accelerator"))
# Use short names for LIT rules.
features.add(be)

Expand Down

0 comments on commit 6098a75

Please sign in to comment.