mirror of https://github.com/BOINC/boinc.git
lib: Remove duplicate GPU text in the OpenCL description
This commit is contained in:
parent
c448732249
commit
0bc567d8c3
|
@ -295,14 +295,14 @@ void OPENCL_DEVICE_PROP::description(char* buf, const char* type) {
|
|||
|
||||
switch(is_used) {
|
||||
case COPROC_IGNORED:
|
||||
sprintf(buf, "OpenCL: %s GPU %d (ignored by config): %s", type, device_num, s2);
|
||||
sprintf(buf, "OpenCL: %s %d (ignored by config): %s", type, device_num, s2);
|
||||
break;
|
||||
case COPROC_USED:
|
||||
sprintf(buf, "OpenCL: %s GPU %d: %s", type, device_num, s2);
|
||||
sprintf(buf, "OpenCL: %s %d: %s", type, device_num, s2);
|
||||
break;
|
||||
case COPROC_UNUSED:
|
||||
default:
|
||||
sprintf(buf, "OpenCL: %s GPU %d (not used): %s", type, device_num, s2);
|
||||
sprintf(buf, "OpenCL: %s %d (not used): %s", type, device_num, s2);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue