- Normalize the way E@H returns OpenCL information to the client

software.
        
    doc/
        get_platforms.inc

svn path=/trunk/boinc/; revision=25678
This commit is contained in:
Rom Walton 2012-05-15 17:29:53 +00:00
parent 4f029af0e7
commit 62dc78ecf3
2 changed files with 12 additions and 2 deletions

View File

@ -3862,3 +3862,10 @@ Rom 15 May 2012
openclicon.png
lib/
diagnostics.cpp
Rom 15 May 2012
- Normalize the way E@H returns OpenCL information to the client
software.
doc/
get_platforms.inc

View File

@ -45,8 +45,11 @@ function friendly_name($p) {
function canonical_plan_class($pc) {
//if (strstr($pc, "mt")) return "mt";
if (strstr($pc, "cuda")) return "cuda";
if (strstr($pc, "ati")) return "ati";
if (strstr($pc, "atiOpenCL")) return "opencl_ati";
if (strstr($pc, "nvidiaOpenCL")) return "opencl_nvidia";
if (strstr($pc, "intelOpenCL")) return "opencl_intel";
if (strstr($pc, "cuda")) return "cuda";
if (strstr($pc, "ati")) return "ati";
return null;
}