Skip to content

Commit

Permalink
Update test scrits to use 'fpga' with ONEAPI_DEVICE_SELECTOR.
Browse files Browse the repository at this point in the history
  • Loading branch information
uditagarwal97 committed Feb 2, 2024
1 parent 9a7e091 commit a516f7d
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 @@ -590,7 +590,7 @@
config.intel_driver_ver = {}
for sycl_device in config.sycl_devices:
env = copy.copy(llvm_config.config.environment)
env["ONEAPI_DEVICE_SELECTOR"] = sycl_device
env["ONEAPI_DEVICE_SELECTOR"] = sycl_device.replace(":acc", ":fpga")
if sycl_device.startswith("cuda:"):
env["SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT"] = "1"
# When using the ONEAPI_DEVICE_SELECTOR environment variable, sycl-ls
Expand Down

0 comments on commit a516f7d

Please sign in to comment.