mirror of https://github.com/BOINC/boinc.git
BOINC web: recognize "nvidia" in plan class names
This commit is contained in:
parent
1ef9299ada
commit
7a9c798081
|
@ -40,6 +40,7 @@ function friendly_name($p) {
|
|||
}
|
||||
if (strlen($pc)) {
|
||||
if (strstr($pc, 'cuda')) $q .= " (NVIDIA GPU)";
|
||||
else if (strstr($pc, 'nvidia')) $q .= " (NVIDIA GPU)";
|
||||
else if (strstr($pc, 'ati')) $q .= " (AMD/ATI GPU)";
|
||||
else if (strstr($pc, 'intel_gpu')) $q .= " (Intel GPU)";
|
||||
else if (strstr($pc, 'mt')) $q .= " (multicore)";
|
||||
|
@ -78,6 +79,7 @@ function get_platform_icon_flags($l) {
|
|||
if (strstr($p, "armv6")) $x->rasp_pi = true;
|
||||
if (strstr($pc, "ati")) $x->amd_gpu = true;
|
||||
if (strstr($pc, "cuda")) $x->nvidia_gpu = true;
|
||||
if (strstr($pc, "nvidia")) $x->nvidia_gpu = true;
|
||||
if (strstr($pc, "intel_gpu")) $x->intel_gpu = true;
|
||||
if (strstr($pc, "vbox")) $x->vbox = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue