Skip to content

Commit

Permalink
Merge pull request #5705 from BOINC/dpa_gpu_desc2
Browse files Browse the repository at this point in the history
web: fix bug that hid GPUs in host page
  • Loading branch information
AenBleidd authored Jul 24, 2024
2 parents ab1085b + 69176b0 commit 0d8a2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/inc/host.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 0d8a2e4

Please sign in to comment.