Commit ba74fe56600d5a8729b16b227dc48b84bd60490c

Con Kolivas 2012-01-30T15:26:41

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

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/main.c b/main.c
index 621af4a..fdd3d84 100644
--- a/main.c
+++ b/main.c
@@ -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);
 }