1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-27 06:54:36 +00:00

Clear adl on exiting after probing values since it may attempt to overclock.

This commit is contained in:
Con Kolivas 2012-01-30 15:26:41 +11:00
parent 5a14ec53c8
commit ba74fe5660

1
main.c
View File

@ -1851,6 +1851,7 @@ static char *print_ndevs_and_exit(int *ndevs)
{
opt_log_output = true;
opencl_api.api_detect();
clear_adl(*ndevs);
applog(LOG_INFO, "%i GPU devices detected", *ndevs);
exit(*ndevs);
}