Skip to content

[NFC][SYCL] Enable LIT for FPGA on Windows #2262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sycl/test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def getDeviceCount(device_type):

acc_run_substitute = "true"
acc_check_substitute = ""
if getDeviceCount("accelerator")[0] and platform.system() == "Linux":
if getDeviceCount("accelerator")[0]:
found_at_least_one_device = True
lit_config.note("Found available accelerator device")
acc_run_substitute = " env SYCL_DEVICE_TYPE=ACC "
Expand Down
2 changes: 1 addition & 1 deletion sycl/test/spec_const/spec_const_hw_accelerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

// TODO: re-enable after CI drivers are updated to newer which support spec
// constants:
// XFAIL: linux && opencl && accelerator
// XFAIL: opencl && accelerator
// UNSUPPORTED: cuda || level_zero
#include "spec_const_hw.cpp"
// RUN: %ACC_RUN_PLACEHOLDER %t.out
2 changes: 1 addition & 1 deletion sycl/test/spec_const/spec_const_redefine_accelerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

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