Browse Source

Convert error getting device IDs in ocl code to info log level only since multiple platforms may be installed and the error is harmless there.

nfactor-troky
ckolivas 12 years ago
parent
commit
6ffba7e9d8
  1. 2
      ocl.c

2
ocl.c

@ -121,7 +121,7 @@ int clDevicesNum(void) { @@ -121,7 +121,7 @@ int clDevicesNum(void) {
applog(LOG_INFO, "CL Platform %d version: %s", i, pbuff);
status = clGetDeviceIDs(platform, CL_DEVICE_TYPE_GPU, 0, NULL, &numDevices);
if (status != CL_SUCCESS) {
applog(LOG_ERR, "Error %d: Getting Device IDs (num)", status);
applog(LOG_INFO, "Error %d: Getting Device IDs (num)", status);
continue;
}
applog(LOG_INFO, "Platform %d devices: %d", i, numDevices);

Loading…
Cancel
Save