mirror of https://github.com/BOINC/boinc.git
Merge pull request #5705 from BOINC/dpa_gpu_desc2
web: fix bug that hid GPUs in host page
This commit is contained in:
commit
0d8a2e41a3
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue