mirror of https://github.com/BOINC/boinc.git
- 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:
parent
4f029af0e7
commit
62dc78ecf3
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue