lib: Remove duplicate GPU text in the OpenCL description

This commit is contained in:
Rom Walton 2013-01-29 15:44:11 -05:00 committed by Oliver Bock
parent c448732249
commit 0bc567d8c3
1 changed files with 3 additions and 3 deletions

View File

@ -295,14 +295,14 @@ void OPENCL_DEVICE_PROP::description(char* buf, const char* type) {
switch(is_used) { switch(is_used) {
case COPROC_IGNORED: 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; break;
case COPROC_USED: 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; break;
case COPROC_UNUSED: case COPROC_UNUSED:
default: 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; break;
} }
} }