mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-26 13:52:02 +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);
|
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user