Merge pull request #5705 from BOINC/dpa_gpu_desc2

web: fix bug that hid GPUs in host page
This commit is contained in:
Vitalii Koshura 2024-07-24 09:22:28 +02:00 committed by GitHub
commit 0d8a2e41a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ function gpu_desc($x, $detail=true) {
//print_r($d);
if ($d[0] == "BOINC") continue;
if ($d[0] == "vbox") continue;
if (count($d) < 5) continue;
if (count($d) < 4) continue;
if ($str) $str .= "<p>";
if ($d[2]!="" && $d[2]!="1") $str .= "[".$d[2]."] ";
if ($d[0] == "CUDA") {