From cab08363976def367f273a84f4940d50571c9c73 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 25 Aug 2017 13:55:49 -0700 Subject: [PATCH] BOINC web: check for _ati instead of ati in plan class names. --- doc/get_platforms.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/get_platforms.inc b/doc/get_platforms.inc index 4f8273076f..a503fda6c8 100644 --- a/doc/get_platforms.inc +++ b/doc/get_platforms.inc @@ -41,7 +41,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, '_ati')) $q .= " (AMD/ATI GPU)"; else if (strstr($pc, 'intel_gpu')) $q .= " (Intel GPU)"; else if (strstr($pc, 'mt')) $q .= " (multicore)"; else if (strstr($pc, 'vbox32')) $q .= " (VirtualBox 32-bit)"; @@ -79,7 +79,7 @@ function get_platform_icon_flags($l) { if (strstr($p, "arm-unknown-linux-gnueabihf")) $x->rasp_pi = true; if (strstr($p, "armv5")) $x->rasp_pi = true; if (strstr($p, "armv6")) $x->rasp_pi = true; - if (strstr($pc, "ati")) $x->amd_gpu = 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;