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.

ckolivas 12 years ago
parent
commit
6ffba7e9d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ocl.c

+ 1 - 1
ocl.c

@@ -121,7 +121,7 @@ int clDevicesNum(void) {
 			applog(LOG_INFO, "CL Platform %d version: %s", i, pbuff);
 			applog(LOG_INFO, "CL Platform %d version: %s", i, pbuff);
 		status = clGetDeviceIDs(platform, CL_DEVICE_TYPE_GPU, 0, NULL, &numDevices);
 		status = clGetDeviceIDs(platform, CL_DEVICE_TYPE_GPU, 0, NULL, &numDevices);
 		if (status != CL_SUCCESS) {
 		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;
 			continue;
 		}
 		}
 		applog(LOG_INFO, "Platform %d devices: %d", i, numDevices);
 		applog(LOG_INFO, "Platform %d devices: %d", i, numDevices);