mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00: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.
This commit is contained in:
parent
a797898fc3
commit
6ffba7e9d8
2
ocl.c
2
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);
|
||||
|
Loading…
Reference in New Issue
Block a user