We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bed858b commit f0197abCopy full SHA for f0197ab
sycl/test/lit.cfg.py
@@ -169,7 +169,7 @@ def getDeviceCount(device_type):
169
170
acc_run_substitute = "true"
171
acc_check_substitute = ""
172
-if getDeviceCount("accelerator")[0]:
+if getDeviceCount("accelerator")[0] and platform.system() == "Linux":
173
print("Found available accelerator device")
174
acc_run_substitute = " env SYCL_DEVICE_TYPE=ACC "
175
acc_check_substitute = "| FileCheck %s"
0 commit comments