- client: write log msgs saying whether GPUs are OpenCL-capable

svn path=/trunk/boinc/; revision=23814
This commit is contained in:
David Anderson 2011-07-07 22:01:39 +00:00
parent 87d20586c4
commit f526fb0980
2 changed files with 12 additions and 0 deletions

View File

@ -3929,3 +3929,9 @@ Rom 7 July 2011
clientscr/
screensaver_win.cpp
David 7 July 2011
- client: write log msgs saying whether GPUs are OpenCL-capable
client/
client_state.cpp

View File

@ -410,6 +410,12 @@ int CLIENT_STATE::init() {
if (coprocs.none() ) {
msg_printf(NULL, MSG_INFO, "No usable GPUs found");
}
for (int j=1; j<coprocs.n_rsc; j++) {
COPROC& cp = coprocs.coprocs[j];
if (cp.have_opencl) {
msg_printf(NULL, MSG_INFO, "%s GPU is OpenCL-capable", cp.type);
}
}
// check for app_info.xml file in project dirs.
// If find, read app info from there, set project.anonymous_platform