Browse Source

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

nfactor-troky
Con Kolivas 13 years ago
parent
commit
ba74fe5660
  1. 1
      main.c

1
main.c

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

Loading…
Cancel
Save