File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ def getDeviceCount(device_type):
182182
183183acc_run_substitute = "true"
184184acc_check_substitute = ""
185- if getDeviceCount ("accelerator" )[0 ] and platform . system () == "Linux" :
185+ if getDeviceCount ("accelerator" )[0 ]:
186186 found_at_least_one_device = True
187187 lit_config .note ("Found available accelerator device" )
188188 acc_run_substitute = " env SYCL_DEVICE_TYPE=ACC "
Original file line number Diff line number Diff line change 1111
1212// TODO: re-enable after CI drivers are updated to newer which support spec
1313// constants:
14- // XFAIL: linux && opencl && accelerator
14+ // XFAIL: opencl && accelerator
1515// UNSUPPORTED: cuda || level_zero
1616#include " spec_const_hw.cpp"
1717// RUN: %ACC_RUN_PLACEHOLDER %t.out
Original file line number Diff line number Diff line change 1313
1414// TODO: re-enable after CI drivers are updated to newer which support spec
1515// constants:
16- // XFAIL: linux && opencl && accelerator
16+ // XFAIL: opencl && accelerator
1717// UNSUPPORTED: cuda || level_zero
1818#include " spec_const_redefine_accelerator.cpp"
1919// RUN: env SYCL_PI_TRACE=2 %ACC_RUN_PLACEHOLDER %t.out 2>&1 %ACC_CHECK_PLACEHOLDER
You can’t perform that action at this time.
0 commit comments