PASS with warning if not enough GPUs detected.
Tá an tiomantas seo le fáil i:
1 tuismitheoir
1ccc900649
tiomantas
c7f583dcfb
1 comhad athraithe
+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;
|
||||
}
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir