PASS with warning if not enough GPUs detected.

This commit is contained in:
Ben Sander committed 2016-05-02 13:37:14 -05:00
1 parent aea31ad4e1
commit a398cd4cda
1 file changed
+2
+2
View File
@@ -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;
}