Commit 6ffba7e9d8195a0e5d64911e2d85a059fbdf011e

ckolivas 2013-04-17T22:03:00

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/ocl.c b/ocl.c
index 31c85ec..2d66971 100644
--- a/ocl.c
+++ b/ocl.c
@@ -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);