PASS with warning if not enough GPUs detected.

[ROCm/clr commit: a398cd4cda]
Этот коммит содержится в:
Ben Sander
2016-05-02 13:37:14 -05:00
родитель 7f90e11724
Коммит eaf4e4a0ee
+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;
}