There was an error while loading. Please reload this page.
1 parent b10d5a7 commit 3885ef4Copy full SHA for 3885ef4
1 file changed
tests/test_match_by_text.cpp
@@ -24,7 +24,8 @@ int main(int argc, char *argv[])
24
{
25
ax_dev_sys_init(axcl_device, 0);
26
}
27
- else
+
28
+ if (!ax_devices.host.available && ax_devices.devices.count == 0)
29
30
printf("no device available\n");
31
return -1;
0 commit comments