mirror of https://github.com/BOINC/boinc.git
- client: write log msgs saying whether GPUs are OpenCL-capable
svn path=/trunk/boinc/; revision=23814
This commit is contained in:
parent
87d20586c4
commit
f526fb0980
|
@ -3929,3 +3929,9 @@ Rom 7 July 2011
|
||||||
|
|
||||||
clientscr/
|
clientscr/
|
||||||
screensaver_win.cpp
|
screensaver_win.cpp
|
||||||
|
|
||||||
|
David 7 July 2011
|
||||||
|
- client: write log msgs saying whether GPUs are OpenCL-capable
|
||||||
|
|
||||||
|
client/
|
||||||
|
client_state.cpp
|
||||||
|
|
|
@ -410,6 +410,12 @@ int CLIENT_STATE::init() {
|
||||||
if (coprocs.none() ) {
|
if (coprocs.none() ) {
|
||||||
msg_printf(NULL, MSG_INFO, "No usable GPUs found");
|
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.
|
// check for app_info.xml file in project dirs.
|
||||||
// If find, read app info from there, set project.anonymous_platform
|
// If find, read app info from there, set project.anonymous_platform
|
||||||
|
|
Loading…
Reference in New Issue