PASS with warning if not enough GPUs detected.

这个提交包含在:
Ben Sander 于 2016-05-02 13:37:14 -05:00 提交
1 父节点 1ccc900649
当前提交 c7f583dcfb
1 个文件已更改
+2
+2
查看文件
@@ -40,6 +40,8 @@ int num;
hipGetDeviceCount(&num);
if(num < 2)
{
printf ("warning: Not enough GPUs to run the test, exiting without running.\n");
passed();
return 0;
}