PASS with warning if not enough GPUs detected.

[ROCm/hip commit: c7f583dcfb]
Dieser Commit ist enthalten in:
Ben Sander committed 2016-05-02 13:37:14 -05:00
1 Ursprung 556b04b364
Commit 5ce2ddd5bd
1 Datei geändert
+2
+2
Datei anzeigen
@@ -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;
}